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

App crashes on Android 7 #28

Open
stalniy opened this issue Apr 4, 2017 · 4 comments
Open

App crashes on Android 7 #28

stalniy opened this issue Apr 4, 2017 · 4 comments
Assignees

Comments

@stalniy
Copy link

stalniy commented Apr 4, 2017

Expected Behaviour

User is able to write over picture

Actual Behaviour

When user clicks on "T" tool (for adding text over image) application crashes with this stack trace:

java.lang.RuntimeException: Font asset not found assets/aviary/meme/LeagueGothic-Regular.otf
	at android.graphics.Typeface.createFromAsset(Typeface.java:206)
	at com.adobe.creativesdk.aviary.internal.headless.moa.MoaFontProxy.create(MoaFontProxy.java:102)
	at com.adobe.creativesdk.aviary.panels.TextPanel.onActivate(TextPanel.java:413)
	at com.adobe.creativesdk.aviary.panels.AbstractPanel.onActivate(AbstractPanel.java:523)
	at com.adobe.creativesdk.aviary.internal.AdobeImageEditorControllerAbstract.setCurrentState(AdobeImageEditorControllerAbstract.java:893)
	at com.adobe.creativesdk.aviary.internal.AdobeImageEditorControllerAbstract.access$000(AdobeImageEditorControllerAbstract.java:87)
	at com.adobe.creativesdk.aviary.internal.AdobeImageEditorControllerAbstract$1.onOpenEnd(AdobeImageEditorControllerAbstract.java:298)
	at com.adobe.creativesdk.aviary.widget.AdobeImageBottomBarAnimator.onAnimationCompleted(AdobeImageBottomBarAnimator.java:144)
	at it.sephiroth.android.library.viewrevealanimator.LollipopRevealAnimatorImpl$3.onAnimationEnd(LollipopRevealAnimatorImpl.java:157)
	at android.view.RenderNodeAnimator.onFinished(RenderNodeAnimator.java:381)
	at android.animation.RevealAnimator.onFinished(RevealAnimator.java:43)
	at android.view.RenderNodeAnimator.callOnFinished(RenderNodeAnimator.java:488)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:323)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:6119)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

The same application works fine on Android 6

Reproduce Scenario (including but not limited to)

Steps to Reproduce

  1. Open any cordova application on Anroid 7 with this plugin installed
  2. click to edit image
  3. choose "text" tool to add text over image

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android: 7.1.1
Android Build: N4F26T

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Manufacturer: Huawei
Model: Nexus 6P

PhoneGap CLI version and PhoneGap platform version

$ cordova --version
6.5.0

$ cordova platform version android
Installed platforms:
  android 6.1.2

Plugin version

phonegap-plugin-csdk-client-auth 1.0.6
phonegap-plugin-csdk-image-editor 1.0.0

Sample Code that illustrates the problem

Logs taken while reproducing problem

@stalniy stalniy changed the title App crashes on Anroid 7 App crashes on Android 7 Apr 4, 2017
@netzinkubator
Copy link

netzinkubator commented Jul 25, 2017

we are experiencing the same issue.
any news on it? was it fixed?

stacktrace:

java.lang.RuntimeException: Font asset not found assets/aviary/meme/LeagueGothic-Regular.otf
at android.graphics.Typeface.createFromAsset(Typeface.java:305)
at com.adobe.creativesdk.aviary.internal.headless.moa.MoaFontProxy.create(MoaFontProxy.java:102)

@lumiman
Copy link

lumiman commented Jul 27, 2017

I have the same issue, all Edit feature like crop, draw etc are fine but when try to add a text the app crashs

@pochubayk
Copy link

Also having the Same issue @macdonst @ashryanbeats and update on this issue?

@tuxes3
Copy link

tuxes3 commented Oct 6, 2017

same issue

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

6 participants