I have used Projucer to create a new project “GUI Application”. Without any changes I “Saved Project and Open in IDE…” - Android Studio.
Run of the application ends with crash:
09-28 11:21:22.534 5660-5660/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.yourcompany.test_gui01, PID: 5660
java.lang.UnsatisfiedLinkError: No implementation found for void com.yourcompany.test_gui01.resumeApp() (tried Java_com_yourcompany_test_1gui01_resumeApp and Java_com_yourcompany_test_1gui01_resumeApp__)
at com.yourcompany.test_gui01.resumeApp(Native Method)
at com.yourcompany.test_gui01.onResume(test_gui01.java:1085)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)
at android.app.Activity.performResume(Activity.java:6768)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3377)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3440)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2713)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
This same project runs correctly when is opened on Xcode. Also “Demo” example runs correctly in Android Studio.
Any suggestions why resumeApp() is missing and how to fix it?
Best Regrads,
Dawid