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

Got run time error #8

Open
DineshKachhot opened this issue Jul 28, 2015 · 1 comment
Open

Got run time error #8

DineshKachhot opened this issue Jul 28, 2015 · 1 comment

Comments

@DineshKachhot
Copy link

What I am doing is com.carlospinan.utils and com.google.example.games.basegameutils to my app and extends my AppActivity.java with UtilActivity

it compile successful but got run time error Like below

07-28 18:09:22.220: E/AndroidRuntime(23797): FATAL EXCEPTION: main
07-28 18:09:22.220: E/AndroidRuntime(23797): java.lang.ExceptionInInitializerError
07-28 18:09:22.220: E/AndroidRuntime(23797): at java.lang.Class.newInstanceImpl(Native Method)
07-28 18:09:22.220: E/AndroidRuntime(23797): at java.lang.Class.newInstance(Class.java:1319)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2015)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.app.ActivityThread.access$600(ActivityThread.java:140)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.os.Handler.dispatchMessage(Handler.java:99)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.os.Looper.loop(Looper.java:137)
07-28 18:09:22.220: E/AndroidRuntime(23797): at android.app.ActivityThread.main(ActivityThread.java:4898)
07-28 18:09:22.220: E/AndroidRuntime(23797): at java.lang.reflect.Method.invokeNative(Native Method)
07-28 18:09:22.220: E/AndroidRuntime(23797): at java.lang.reflect.Method.invoke(Method.java:511)
07-28 18:09:22.220: E/AndroidRuntime(23797): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
07-28 18:09:22.220: E/AndroidRuntime(23797): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
07-28 18:09:22.220: E/AndroidRuntime(23797): at dalvik.system.NativeStart.main(Native Method)
07-28 18:09:22.220: E/AndroidRuntime(23797): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load game: findLibrary returned null
07-28 18:09:22.220: E/AndroidRuntime(23797): at java.lang.Runtime.loadLibrary(Runtime.java:365)
07-28 18:09:22.220: E/AndroidRuntime(23797): at java.lang.System.loadLibrary(System.java:535)
07-28 18:09:22.220: E/AndroidRuntime(23797): at com.carlospinan.utils.UtilActivity.(UtilActivity.java:242)
07-28 18:09:22.220: E/AndroidRuntime(23797): ... 15 more

Where i am doing wrong please help me.

@cpinan
Copy link
Owner

cpinan commented Aug 2, 2015

Hi Dinesh,

It looks like you don't have the libraries for cocos2dx embebed.

2015-07-28 7:55 GMT-05:00 DineshKachhot [email protected]:

What I am doing is com.carlospinan.utils and
com.google.example.games.basegameutils to my app and extends my
AppActivity.java with UtilActivity

it compile successful but got run time error Like below

07-28 18:09:22.220: E/AndroidRuntime(23797): FATAL EXCEPTION: main
07-28 18:09:22.220: E/AndroidRuntime(23797):
java.lang.ExceptionInInitializerError
07-28 18:09:22.220: E/AndroidRuntime(23797): at
java.lang.Class.newInstanceImpl(Native Method)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
java.lang.Class.newInstance(Class.java:1319)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.app.Instrumentation.newActivity(Instrumentation.java:1068)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2015)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.app.ActivityThread.access$600(ActivityThread.java:140)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.os.Handler.dispatchMessage(Handler.java:99)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.os.Looper.loop(Looper.java:137)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
android.app.ActivityThread.main(ActivityThread.java:4898)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
java.lang.reflect.Method.invokeNative(Native Method)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
java.lang.reflect.Method.invoke(Method.java:511)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
dalvik.system.NativeStart.main(Native Method)
07-28 18:09:22.220: E/AndroidRuntime(23797): Caused by:
java.lang.UnsatisfiedLinkError: Couldn't load game: findLibrary returned
null
07-28 18:09:22.220: E/AndroidRuntime(23797): at
java.lang.Runtime.loadLibrary(Runtime.java:365)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
java.lang.System.loadLibrary(System.java:535)
07-28 18:09:22.220: E/AndroidRuntime(23797): at
com.carlospinan.utils.UtilActivity.(UtilActivity.java:242)
07-28 18:09:22.220: E/AndroidRuntime(23797): ... 15 more

Where i am doing wrong please help me.


Reply to this email directly or view it on GitHub
#8.

Atentamente,

Carlos Eduardo Piñán Indacochea.
Ingeniero de sistemas.

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