Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running app #78

Closed
KGRYG opened this issue Dec 23, 2017 · 3 comments
Closed

Running app #78

KGRYG opened this issue Dec 23, 2017 · 3 comments

Comments

@KGRYG
Copy link

KGRYG commented Dec 23, 2017

Hi I followed instructions in readme and after I install project and try to run(I'm using Android Studio 3) on emulator I have error:

java.lang.RuntimeException: Unable to start activity ComponentInfo{itkach.aard2/itkach.aard2.MainActivity}: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x3 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) at android.app.ActivityThread.access$800(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x3 at android.content.res.TypedArray.getDimension(TypedArray.java:399) at com.shamanland.fonticon.FontIconDrawable.inflate(FontIconDrawable.java:111) at com.shamanland.fonticon.FontIconDrawable.inflate(FontIconDrawable.java:65) at itkach.aard2.MainActivity.onCreate(MainActivity.java:71) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)  at android.app.ActivityThread.access$800(ActivityThread.java:135)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:136)  at android.app.ActivityThread.main(ActivityThread.java:5017)  at java.lang.reflect.Method.invokeNative(Native Method)  at java.lang.reflect.Method.invoke(Method.java:515)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)  at dalvik.system.NativeStart.main(Native Method)

@KGRYG
Copy link
Author

KGRYG commented Dec 27, 2017

I found issue:
it's Android Studio 3 there is some bug which causing this error, if you run app on Android Studio 2.3.3 it works just fine.

@itkach
Copy link
Owner

itkach commented Dec 28, 2017

@KGRYG thank you for investigating

@itkach
Copy link
Owner

itkach commented May 14, 2019

Fixed in 6a5f963

@itkach itkach closed this as completed May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants