Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Font error when using Asset Browser and Image editor. #49

Open
KimberlyPerezCruz opened this issue Jul 15, 2017 · 0 comments
Open

Font error when using Asset Browser and Image editor. #49

KimberlyPerezCruz opened this issue Jul 15, 2017 · 0 comments

Comments

@KimberlyPerezCruz
Copy link

KimberlyPerezCruz commented Jul 15, 2017

When using these two together:
'com.adobe.creativesdk:image:4.8.4'
'com.adobe.creativesdk.foundation:assetux:0.9.1251'
the project won't build and will give the following error:

java.lang.RuntimeException: Font asset not found fonts/AdobeClean-SemiLight.otf
at android.graphics.Typeface.createFromAsset(Typeface.java:206)
at com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKTypeFace.getTypeface(AdobeCSDKTypeFace.java:43)
at com.adobe.creativesdk.foundation.internal.utils.CreativeSDKTextView.setTypeface(CreativeSDKTextView.java:87)
at android.widget.TextView.setTypefaceFromAttrs(TextView.java:1533)
at android.widget.TextView.(TextView.java:1430)
at android.widget.TextView.(TextView.java:704)
at android.widget.TextView.(TextView.java:700)
at com.adobe.creativesdk.foundation.internal.utils.CreativeSDKTextView.(CreativeSDKTextView.java:66)
at sun.reflect.GeneratedConstructorAccessor331.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jetbrains.android.uipreview.ViewLoader.createNewInstance(ViewLoader.java:475)
at org.jetbrains.android.uipreview.ViewLoader.loadClass(ViewLoader.java:262)
at org.jetbrains.android.uipreview.ViewLoader.loadView(ViewLoader.java:220)
at com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView(LayoutlibCallbackImpl.java:186)
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:334)
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:345)
at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:245)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)
at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
at android.view.LayoutInflater_Delegate.parseInclude(LayoutInflater_Delegate.java:197)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:902)
at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:854)
at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:324)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:368)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:567)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:549)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:549)
at com.android.tools.idea.rendering.RenderTask.lambda$inflate$1(RenderTask.java:680)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Any help?
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant