Log in or register to post comments

Hi, i have a problem about the apk

April 13, 2011 - 6:50am #1

i build apk through Unity3.3

and i tried to execute App. at the Nexus S

but it isnt executed with error message, 'this app is unexpectedly discontinued, please try again'

i dont know the reason

please help me...

Re: Hi, i have a problem about the apk

April 18, 2011 - 7:48am #7
JaeDongJung wrote:

oh...thank u very very much

i was a idiot.....

againg, thank u for your kind

If it helps any, also ensure that if you import any of the sample packages as a reference, to reimport the patch. This applies to pretty much any project when you import another package into the project. I found that not doing so winds up with the patch being overwritten in the process. I ran into that while testing different samples.

Re: Hi, i have a problem about the apk

April 13, 2011 - 10:05pm #6

oh...thank u very very much

i was a idiot.....

againg, thank u for your kind

Re: Hi, i have a problem about the apk

April 13, 2011 - 7:42pm #5

You don't have to use ndk-build with Unity.

It looks like you might be missing the Patch for Unity 3.2 (also required for Unity 3.3). You can get it from our main site, under the Unity section: http://ar.qualcomm.com

- Kim

Re: Hi, i have a problem about the apk

April 13, 2011 - 7:10pm #4

i have though about that untill now
Suddenly, i got a idea.
it's just my opinion
maybe, it is because of 'ndk-build'
how do i ndk-build to the unity project ?

Re: Hi, i have a problem about the apk

April 13, 2011 - 5:10pm #3

thank u for your answer
i look at the device log, i got the problem data
-------------------------------------------------

D/dalvikvm( 5335): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCAR.so 0x40514700

D/dalvikvm( 5335): Added shared lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCAR.so 0x40514700

D/dalvikvm( 5335): Trying to load lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x40514700

D/dalvikvm( 5335): Added shared lib /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x40514700

D/dalvikvm( 5335): No JNI_OnLoad found in /data/data/com.qualcomm.QCARUnityPlayer/lib/libQCARUnityPlayer.so 0x40514700, skipping init

W/ResourceType( 5335): No package identifier when getting value for resource number 0x00000000

D/AndroidRuntime( 5335): Shutting down VM

W/dalvikvm( 5335): threadid=1: thread exiting with uncaught exception (group=0x40015560)

E/AndroidRuntime( 5335): FATAL EXCEPTION: main

E/AndroidRuntime( 5335): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.qualcomm.QCARUnityPlayer/com.qualcomm.QCARUnityPlayer.PlayerActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x0

E/AndroidRuntime( 5335): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)

E/AndroidRuntime( 5335): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)

E/AndroidRuntime( 5335): at android.app.ActivityThread.access$1500(ActivityThread.java:117)

E/AndroidRuntime( 5335): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)

E/AndroidRuntime( 5335): at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 5335): at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 5335): at android.app.ActivityThread.main(ActivityThread.java:3683)

E/AndroidRuntime( 5335): at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 5335): at java.lang.reflect.Method.invoke(Method.java:507)

E/AndroidRuntime( 5335): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

E/AndroidRuntime( 5335): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

E/AndroidRuntime( 5335): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 5335): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0

E/AndroidRuntime( 5335): at android.content.res.Resources.getValue(Resources.java:892)

E/AndroidRuntime( 5335): at android.content.res.Resources.getInteger(Resources.java:699)

E/AndroidRuntime( 5335): at com.qualcomm.QCARUnityPlayer.PlayerActivity.onCreate(PlayerActivity.java:200)

E/AndroidRuntime( 5335): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

E/AndroidRuntime( 5335): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)

E/AndroidRuntime( 5335): ... 11 more

W/ActivityManager( 108): Force finishing activity com.qualcomm.QCARUnityPlayer/.PlayerActivity

W/ActivityManager( 108): Activity pause timeout for HistoryRecord{406ef558 com.qualcomm.QCARUnityPlayer/.PlayerActivity}

I/Process ( 5335): Sending signal. PID: 5335 SIG: 9

I/ActivityManager( 108): Process com.qualcomm.QCARUnityPlayer (pid 5335) has died.
----------------------------------------------------------------------
but i dont know it is meaning ..
please help me ....

Re: Hi, i have a problem about the apk

April 13, 2011 - 7:04am #2

Make sure that your device is connected to the internet the first time you run the app. Also, look at the device logs (run the ddms tool that comes with Android) to see if there are any error messages.

- Kim

Log in or register to post comments