> > java.lang.RuntimeException: Unable to
> > instantiate activity
> > ComponentInfo{com.test.media/
com.test.media.Welcome}:
> > java.lang.ClassNotFoundException:sounds like manifest problem, you should confige all kinds of activity there, or could arise this kind of error. On Thu, Aug 19, 2010 at 9:51 AM, Eric Wong (hdmp4.com) <[email protected] > wrote: > wow, an unbelieveable size for an apk. > > Is this a game? > > On Aug 18, 11:24 pm, chris2a <[email protected]> wrote: > > Hi everybody, > > > > I developed an "heavy" application (700 Mb !). With an "apk installer" > > application, i can install it on the Nexus One SD card (Froyo > > "installLocation" option). My application is heavy because of the > > videos it contains (located in /raw directory). The problem I have, is > > that it crashes when launched, with this error : > > > > 08-18 11:22:16.179: ERROR/AndroidRuntime(1250): FATAL > > > > > > > > > > EXCEPTION: main 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): > > > > java.lang.RuntimeException: Unable to > > > > instantiate activity > > > > ComponentInfo{com.test.media/com.test.media.Welcome}: > > > > java.lang.ClassNotFoundException: > > > > com.test.media.Welcome in loader > > > > dalvik.system.PathClassLoader[/mnt/asec/com.test.media-1/pkg.apk] > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > android.app.ActivityThread.access$2300(ActivityThread.java:125) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > android.os.Handler.dispatchMessage(Handler.java:99) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > android.os.Looper.loop(Looper.java:123) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > android.app.ActivityThread.main(ActivityThread.java:4627) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > java.lang.reflect.Method.invokeNative(Native > > > > Method) 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > java.lang.reflect.Method.invoke(Method.java:521) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > dalvik.system.NativeStart.main(Native > > > > Method) 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): Caused by: > > > > java.lang.ClassNotFoundException: > > > > com.test.media.Welcome in loader > > > > dalvik.system.PathClassLoader[/mnt/asec/com.test.media-1/pkg.apk] > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > java.lang.ClassLoader.loadClass(ClassLoader.java:573) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > java.lang.ClassLoader.loadClass(ClassLoader.java:532) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > android.app.Instrumentation.newActivity(Instrumentation.java:1021) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): at > > > > > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577) > > > > 08-18 11:22:16.179: > > > > ERROR/AndroidRuntime(1250): ... 11 > > > > more > > > > I dont't understand the reason of this error, because when i try the > > same thing with a lighter application (250 Mb) it runs perfectly. Has > > anyone of you ever had this kind of problem ? Do you know if there is > > a size limit for applications to work ? > > > > Thank you for your help ! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

