Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
Try doing a Project-Clean and see if that fixes it On Thursday, March 14, 2013 3:04:27 AM UTC-6, Piren wrote: try the various suggestions offered here: http://stackoverflow.com/questions/4820554/android-unable-to-instantiate-activity-classnotfoundexception Also since you said you imported the project... i'd give it a second go. delete it all, copy the entire app folder again, go into eclipse an import existing project, uninstall for the phone and give it a go. On Thursday, March 14, 2013 10:46:56 AM UTC+2, RKJ (Android developer) wrote: yes, correct Piren, 1. Activity class package com.playcez; is mentioned. 2. and Start.java is in correct package name Basically this project is working in different box(laptop), and i'm trying to import this project, since 2-3 i'm getting error and not getting any clue. :( On Thu, Mar 14, 2013 at 2:09 PM, Piren gpi...@gmail.com wrote: is the file structure is correct (app/src/com/playcez/Start.java) (which i got wrong before as well lol.. i always forget the com) Also, your activity code doesn't have the package declared in it... it should say package com.playcez; at the top On Thursday, March 14, 2013 10:23:30 AM UTC+2, RKJ (Android developer) wrote: Yes Piren, application android:allowBackup=true android:icon=@drawable/ic_**launcher android:label=@string/app_**name android:theme=@style/**AppTheme activity android:name=com.playcez.**Start android:label=@string/app_**name android:screenOrientation=**portrait intent-filter action android:name=android.intent.**action.MAIN / category android:name=android.intent.**category.LAUNCHER / /intent-filter /activity activity android:name=com.playcez.**GPSActivity android:label=@string/app_**name android:screenOrientation=**portrait /activity On Thu, Mar 14, 2013 at 1:47 PM, Piren gpi...@gmail.com wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/**g**uide/topics/manifest/**activity-** element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.**playcez.Start}: java.lang.** ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**handleLaunchActivity(** ActivityThread.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**access$600(ActivityThread.**java:* *13**4) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**handleMessage(ActivityThread.** java:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler.**dispatchMessage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.**java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run( **ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.** java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main(Native
[android-developers] Re: File not found exception, while listed in manifest.xml file
you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.playcez.Start}: java.lang.ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.access$600(ActivityThread.java:134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler.dispatchMessage(Handler.java:99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.main(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.newActivity(Instrumentation.java:1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity android:name=Start android:label=@string/app_name android:screenOrientation=portrait intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity 3. Here is class snapshot - import com.facebook.Session; import com.facebook.SessionState; import com.facebook.UiLifecycleHelper; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.view.animation.AnimationSet; import android.view.animation.AnimationUtils; import android.view.animation.LayoutAnimationController; import android.view.animation.RotateAnimation; import android.view.animation.TranslateAnimation; import android.widget.Button; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.SlidingDrawer; import android.widget.TextView; public class Start extends FragmentActivity { private final int SPLASH_SCREEN_TIMEOUT = 3000;//1850 private static final int SPLASH = 0; private static final int SELECTION = 1; private static final int FRAGMENT_COUNT = SELECTION +1; private int time=100; private Fragment[] fragments = new Fragment[FRAGMENT_COUNT]; private MenuItem
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.**playcez.Start}: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**handleLaunchActivity(** ActivityThread.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**access$600(ActivityThread.**java:134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**handleMessage(ActivityThread.**java:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler.** dispatchMessage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.**java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(** ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoader.findClass(**BaseDexClassLoader.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader. **loadClass(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader. **loadClass(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.**newActivity(Instrumentation.**java:1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity android:name=Start android:label=@string/app_**name android:screenOrientation=**portrait intent-filter action android:name=android.intent.**action.MAIN / category android:name=android.intent.**category.LAUNCHER / /intent-filter /activity 3. Here is class snapshot - import com.facebook.Session; import com.facebook.SessionState; import com.facebook.**UiLifecycleHelper; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.**Fragment; import android.support.v4.app.**FragmentActivity; import android.support.v4.app.**FragmentManager; import android.support.v4.app.**FragmentTransaction; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.**OnClickListener; import android.view.animation.**AlphaAnimation; import android.view.animation.**Animation; import android.view.animation.**AnimationSet; import android.view.animation.**AnimationUtils; import android.view.animation.**LayoutAnimationController; import android.view.animation.**RotateAnimation; import android.view.animation.**TranslateAnimation; import android.widget.Button; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.SlidingDrawer; import android.widget.TextView; public class Start extends FragmentActivity { private final int
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com javascript:wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.**playcez.Start}: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**handleLaunchActivity(** ActivityThread.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**access$600(ActivityThread.**java:134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**handleMessage(ActivityThread.**java:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler.* *dispatchMessage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.**java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(** ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoader.findClass(**BaseDexClassLoader.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.**newActivity(Instrumentation.**java:1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity android:name=Start android:label=@string/app_**name android:screenOrientation=**portrait intent-filter action android:name=android.intent.**action.MAIN / category android:name=android.intent.**category.LAUNCHER / /intent-filter /activity 3. Here is class snapshot - import com.facebook.Session; import com.facebook.SessionState; import com.facebook.**UiLifecycleHelper; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.**Fragment; import android.support.v4.app.**FragmentActivity; import android.support.v4.app.**FragmentManager; import android.support.v4.app.**FragmentTransaction; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.**OnClickListener; import android.view.animation.**AlphaAnimation; import android.view.animation.**Animation; import android.view.animation.**AnimationSet; import android.view.animation.**AnimationUtils; import android.view.animation.**LayoutAnimationController; import android.view.animation.**RotateAnimation; import android.view.animation.**TranslateAnimation; import android.widget.Button; import android.widget.ImageView; import
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
Rakesh Jha wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) try .Start pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
Yes Piren, application android:allowBackup=true android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=com.playcez.Start android:label=@string/app_name android:screenOrientation=portrait intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=com.playcez.GPSActivity android:label=@string/app_name android:screenOrientation=portrait /activity On Thu, Mar 14, 2013 at 1:47 PM, Piren gpi...@gmail.com wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/**guide/topics/manifest/** activity-element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.playcez.Start}: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr** ead.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**han**dleLaunchActivity(**ActivityThre** ad.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**acc**ess$600(ActivityThread.**java:**134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**h**andleMessage(ActivityThread.**ja** va:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler. **dispatchMes**sage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**mai**n(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**eNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**e(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init$**MethodAndArgsCaller.run(**Z** ygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main**(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoad**er.findClass(**BaseDexClassLoade**r.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.**ne**wActivity(Instrumentation.**java** :1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr** ead.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity android:name=Start android:label=@string/app_**nam**e android:screenOrientation=**por**trait intent-filter action android:name=android.intent.**a**ction.MAIN / category android:name=android.intent.**c**ategory.LAUNCHER / /intent-filter /activity 3. Here is class snapshot - import com.facebook.Session; import
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
just to be clear: in the manifest the manifest tag needs to say manifest ...package=com.playcez.start ... then your source directory needs to be ../src/playcez/Start.java And then the activity can have the name as .Start P.S - You should probably add another level to the package declaration... you'd usually want all your apps to share the same package ... so assuming playcez is your dev/company name you should add another level for the app itself... so if you'll have another app, you can still use the com.playcez package. http://en.wikipedia.org/wiki/Java_package#Package_naming_conventions On Thursday, March 14, 2013 10:17:25 AM UTC+2, Piren wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.**playcez.Start}: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**handleLaunchActivity(** ActivityThread.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**access$600(ActivityThread.**java:134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**handleMessage(ActivityThread.** java:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler. **dispatchMessage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.**java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(** ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoader.findClass(**BaseDexClassLoader.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.**newActivity(Instrumentation.**java:1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity android:name=Start android:label=@string/app_**name android:screenOrientation=**portrait intent-filter action android:name=android.intent.**action.MAIN / category android:name=android.intent.**category.LAUNCHER / /intent-filter /activity 3. Here is class snapshot - import com.facebook.Session; import com.facebook.SessionState; import com.facebook.**UiLifecycleHelper; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.**Fragment; import android.support.v4.app.**FragmentActivity;
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
Thanks PSKink, I tested all three probability as i mentioned com.playcez.Start Start .Start but not getting any clue. On Thu, Mar 14, 2013 at 1:51 PM, skink psk...@gmail.com wrote: Rakesh Jha wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) try .Start pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Thanks Regards Rakesh Kumar Jha Android Developer, Trainer and Mentor Bangalore Skype - rkjhaw (O) +918050753516 (R) +919886336619 -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
No, Package is only package=com.playcez manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.playcez android:versionCode=1 android:versionName=1.0 Start is a FragmentActivity inside this package.. On Thu, Mar 14, 2013 at 1:53 PM, Piren gpi...@gmail.com wrote: just to be clear: in the manifest the manifest tag needs to say manifest ...package=com.playcez.start ... then your source directory needs to be ../src/playcez/Start.java And then the activity can have the name as .Start P.S - You should probably add another level to the package declaration... you'd usually want all your apps to share the same package ... so assuming playcez is your dev/company name you should add another level for the app itself... so if you'll have another app, you can still use the com.playcez package. http://en.wikipedia.org/wiki/Java_package#Package_naming_conventions On Thursday, March 14, 2013 10:17:25 AM UTC+2, Piren wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/**guide/topics/manifest/** activity-element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.playcez.Start}: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr** ead.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**han**dleLaunchActivity(**ActivityThre** ad.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**acc**ess$600(ActivityThread.**java:**134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**h**andleMessage(ActivityThread.**ja** va:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler. **dispatchMes**sage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**mai**n(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**eNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**e(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init$**MethodAndArgsCaller.run(**Z** ygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main**(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoad**er.findClass(**BaseDexClassLoade**r.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.**ne**wActivity(Instrumentation.**java** :1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr** ead.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity android:name=Start android:label=@string/app_**nam**e android:screenOrientation=**por**trait intent-filter action android:name=android.intent.**a**ction.MAIN
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
grrr... made a mistake: manifest ...package=com.playcez ... :-) Also, didn't notice what skink noticed - .Start is correct, capitalization matters On Thursday, March 14, 2013 10:23:47 AM UTC+2, Piren wrote: just to be clear: in the manifest the manifest tag needs to say manifest ...package=com.playcez.start ... then your source directory needs to be ../src/playcez/Start.java And then the activity can have the name as .Start P.S - You should probably add another level to the package declaration... you'd usually want all your apps to share the same package ... so assuming playcez is your dev/company name you should add another level for the app itself... so if you'll have another app, you can still use the com.playcez package. http://en.wikipedia.org/wiki/Java_package#Package_naming_conventions On Thursday, March 14, 2013 10:17:25 AM UTC+2, Piren wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.**playcez.Start}: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**handleLaunchActivity(** ActivityThread.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**access$600(ActivityThread.**java:134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**handleMessage(ActivityThread.** java:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler. **dispatchMessage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.**java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(** ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.**ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoader.findClass(**BaseDexClassLoader.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.**newActivity(Instrumentation.**java:1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity android:name=Start android:label=@string/app_**name android:screenOrientation=**portrait intent-filter action android:name=android.intent.**action.MAIN / category android:name=android.intent.**category.LAUNCHER / /intent-filter /activity 3. Here is class snapshot - import com.facebook.Session;
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
Sorry skpink Piren, I used capital .Start, but here by mistake i written small, i'm using capital S . like - application android:allowBackup=true android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=.Start android:label=@string/app_name android:screenOrientation=portrait intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity On Thu, Mar 14, 2013 at 1:57 PM, Piren gpi...@gmail.com wrote: grrr... made a mistake: manifest ...package=com.playcez ... :-) Also, didn't notice what skink noticed - .Start is correct, capitalization matters On Thursday, March 14, 2013 10:23:47 AM UTC+2, Piren wrote: just to be clear: in the manifest the manifest tag needs to say manifest ...package=com.playcez.**start ... then your source directory needs to be ../src/playcez/Start.java And then the activity can have the name as .Start P.S - You should probably add another level to the package declaration... you'd usually want all your apps to share the same package ... so assuming playcez is your dev/company name you should add another level for the app itself... so if you'll have another app, you can still use the com.playcez package. http://en.wikipedia.org/wiki/**Java_package#Package_naming_**conventionshttp://en.wikipedia.org/wiki/Java_package#Package_naming_conventions On Thursday, March 14, 2013 10:17:25 AM UTC+2, Piren wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/**guide/topics/manifest/** activity-element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.playcez.Start}: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr** ead.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**han**dleLaunchActivity(**ActivityThre** ad.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**acc**ess$600(ActivityThread.**java:** 134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**h**andleMessage(ActivityThread.**ja** va:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler.**dispatchMes**sage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**mai**n(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**eNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**e(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init$**MethodAndArgsCaller.run(**Z* *ygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main**(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoad**er.findClass(**BaseDexClassLoade**r.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**461)
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
is the file structure is correct (app/src/com/playcez/Start.java) (which i got wrong before as well lol.. i always forget the com) Also, your activity code doesn't have the package declared in it... it should say package com.playcez; at the top On Thursday, March 14, 2013 10:23:30 AM UTC+2, RKJ (Android developer) wrote: Yes Piren, application android:allowBackup=true android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=com.playcez.Start android:label=@string/app_name android:screenOrientation=portrait intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=com.playcez.GPSActivity android:label=@string/app_name android:screenOrientation=portrait /activity On Thu, Mar 14, 2013 at 1:47 PM, Piren gpi...@gmail.com javascript:wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/**guide/topics/manifest/** activity-element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.playcez.Start}: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr** ead.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**han**dleLaunchActivity(**ActivityThre** ad.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**acc**ess$600(ActivityThread.**java:**134) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**h**andleMessage(ActivityThread.**ja** va:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler. **dispatchMes**sage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**mai**n(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**eNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invok**e(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init$**MethodAndArgsCaller.run(**Z** ygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**Zygote**Init.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main**(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.** ClassNotFoundExcepti**on: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoad**er.findClass(**BaseDexClassLoade**r.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.Instrumentation.**ne**wActivity(Instrumentation.**java** :1023) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr** ead.java:1992) 03-14 13:06:49.078: E/AndroidRuntime(25684): ... 11 more 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4% free 9405K/9719K, paused 1ms+2ms 2. Manifest - activity
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
yes, correct Piren, 1. Activity class package com.playcez; is mentioned. 2. and Start.java is in correct package name Basically this project is working in different box(laptop), and i'm trying to import this project, since 2-3 i'm getting error and not getting any clue. :( On Thu, Mar 14, 2013 at 2:09 PM, Piren gpi...@gmail.com wrote: is the file structure is correct (app/src/com/playcez/Start.java) (which i got wrong before as well lol.. i always forget the com) Also, your activity code doesn't have the package declared in it... it should say package com.playcez; at the top On Thursday, March 14, 2013 10:23:30 AM UTC+2, RKJ (Android developer) wrote: Yes Piren, application android:allowBackup=true android:icon=@drawable/ic_**launcher android:label=@string/app_**name android:theme=@style/**AppTheme activity android:name=com.playcez.**Start android:label=@string/app_**name android:screenOrientation=**portrait intent-filter action android:name=android.intent.**action.MAIN / category android:name=android.intent.**category.LAUNCHER / /intent-filter /activity activity android:name=com.playcez.**GPSActivity android:label=@string/app_**name android:screenOrientation=**portrait /activity On Thu, Mar 14, 2013 at 1:47 PM, Piren gpi...@gmail.com wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/**g**uide/topics/manifest/**activity-** element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.**playcez.Start}: java.lang.** ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(**ActivityThr* ***ead.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**handleLaunchActivity(**ActivityThre* ***ad.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**access$600(ActivityThread.**java:** 13**4) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**handleMessage(ActivityThread.**ja* ***va:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler.**dispatchMessage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.**java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(** ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.** ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.** BaseDexClassLoader.findClass(**BaseDexClassLoader.java:61) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**501) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.ClassLoader.**loadClass(ClassLoader.java:**461) 03-14 13:06:49.078: E/AndroidRuntime(25684): at
Re: [android-developers] Re: File not found exception, while listed in manifest.xml file
try the various suggestions offered here: http://stackoverflow.com/questions/4820554/android-unable-to-instantiate-activity-classnotfoundexception Also since you said you imported the project... i'd give it a second go. delete it all, copy the entire app folder again, go into eclipse an import existing project, uninstall for the phone and give it a go. On Thursday, March 14, 2013 10:46:56 AM UTC+2, RKJ (Android developer) wrote: yes, correct Piren, 1. Activity class package com.playcez; is mentioned. 2. and Start.java is in correct package name Basically this project is working in different box(laptop), and i'm trying to import this project, since 2-3 i'm getting error and not getting any clue. :( On Thu, Mar 14, 2013 at 2:09 PM, Piren gpi...@gmail.com javascript:wrote: is the file structure is correct (app/src/com/playcez/Start.java) (which i got wrong before as well lol.. i always forget the com) Also, your activity code doesn't have the package declared in it... it should say package com.playcez; at the top On Thursday, March 14, 2013 10:23:30 AM UTC+2, RKJ (Android developer) wrote: Yes Piren, application android:allowBackup=true android:icon=@drawable/ic_**launcher android:label=@string/app_**name android:theme=@style/**AppTheme activity android:name=com.playcez.**Start android:label=@string/app_**name android:screenOrientation=**portrait intent-filter action android:name=android.intent.**action.MAIN / category android:name=android.intent.**category.LAUNCHER / /intent-filter /activity activity android:name=com.playcez.**GPSActivity android:label=@string/app_**name android:screenOrientation=**portrait /activity On Thu, Mar 14, 2013 at 1:47 PM, Piren gpi...@gmail.com wrote: Are you sure your package is defined properly? Where you put your file matters... On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer) wrote: Piren, Thanks But i test all 3 posibility like - com.playcez.start .start start but result is same. :( any clue further.. :) On Thu, Mar 14, 2013 at 1:35 PM, Piren gpi...@gmail.com wrote: you're not defining the activity correctly in the manifest... the activity name field needs a fully classified path to the class or should start with a period to fill in the package declared in the manifest. see: http://developer.android.com/**g**uide/topics/manifest/**activity-** element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.html On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer) wrote: I have a file called Start and extending FragmentActivity, this file is listed in manifest file still showing File not found exception any clue please - 1. Here is error code 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with uncaught exception (group=0x40eb8258) 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main 03-14 13:06:49.078: E/AndroidRuntime(25684): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.playcez/com.**playcez.Start}: java.lang.** ClassNotFoundException: com.playcez.Start 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**performLaunchActivity(**ActivityThr ead.java:2001) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**handleLaunchActivity(**ActivityThre ad.java:2104) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**access$600(ActivityThread.**java:** 13**4) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread$H.**handleMessage(ActivityThread.**ja va:1247) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Handler.**dispatchMessage(Handler.java:**99) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.os.Looper.loop(Looper.**java:154) 03-14 13:06:49.078: E/AndroidRuntime(25684): at android.app.ActivityThread.**main(ActivityThread.java:4624) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invokeNative(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): at java.lang.reflect.Method.**invoke(Method.java:511) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(* *ZygoteInit.java:809) 03-14 13:06:49.078: E/AndroidRuntime(25684): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:576) 03-14 13:06:49.078: E/AndroidRuntime(25684): at dalvik.system.NativeStart.**main(Native Method) 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.** ClassNotFoundException:
[android-developers] Re: File not found
Thanks for your help, but when I can only seem to open the SDK manager from within Eclipse. When I try and run the SDK Manager.exe from windows explorer (even as administrator) nothing happens. Am I missing something? Andy On Saturday, 18 August 2012 13:01:03 UTC+1, Swami R wrote: Hi All, I have just joined andriod developers. When i try to update my sdk manager it is giving the following error. please help me out in this issue. Preparing to install archives Downloading Android SDK Tools, revision 20.0.3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\tools_r20.0.3-windows.zip (Access is denied) Downloading Android SDK Platform-tools, revision 14 File not found: C:\Program Files (x86)\Android\android-sdk\temp\platform-tools_r14-windows.zip (Access is denied) Downloading Documentation for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\docs-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.1, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.0.3, API 15, revision 3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-15_r03.zip (Access is denied) Downloading Samples for SDK API 16, revision 1 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-16_r01.zip (Access is denied) Downloading Samples for SDK API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-15_r02.zip (Access is denied) Downloading ARM EABI v7a System Image, Android API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sysimg_armv7a-15_r02.zip (Access is denied) Downloading Sources for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-16_r02.zip (Access is denied) Downloading Sources for Android SDK, API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r02.zip (Access is denied) Downloading Android Support Library, revision 10 File not found: C:\Program Files (x86)\Android\android-sdk\temp\support_r10.zip (Access is denied) Skipping 'ARM EABI v7a System Image, Android API 16, revision 2'; it depends on 'SDK Platform Android 4.1, API 16, revision 2' which was not installed. Done. Nothing was installed. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: File not found
Thanks for help :) Am new to andriod and your post make able me to do this thing On Friday, 12 October 2012 05:55:40 UTC+5, Anbu Laxman wrote: Hi, I am Anbu. Start the SDK manager as Administrator. -- - Right Click SDK Manager - Select Run As Administrator - Click the YES button if you need more details please mail me *laxman.a...@gmail.com*javascript: thanks On Sunday, September 2, 2012 7:49:11 AM UTC-7, Pete Thottam wrote: I am having the same problem when I try to install an Android Support Library update. On Saturday, August 18, 2012 5:01:03 AM UTC-7, Swami R wrote: Hi All, I have just joined andriod developers. When i try to update my sdk manager it is giving the following error. please help me out in this issue. Preparing to install archives Downloading Android SDK Tools, revision 20.0.3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\tools_r20.0.3-windows.zip (Access is denied) Downloading Android SDK Platform-tools, revision 14 File not found: C:\Program Files (x86)\Android\android-sdk\temp\platform-tools_r14-windows.zip (Access is denied) Downloading Documentation for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\docs-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.1, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.0.3, API 15, revision 3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-15_r03.zip (Access is denied) Downloading Samples for SDK API 16, revision 1 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-16_r01.zip (Access is denied) Downloading Samples for SDK API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-15_r02.zip (Access is denied) Downloading ARM EABI v7a System Image, Android API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sysimg_armv7a-15_r02.zip (Access is denied) Downloading Sources for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-16_r02.zip (Access is denied) Downloading Sources for Android SDK, API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r02.zip (Access is denied) Downloading Android Support Library, revision 10 File not found: C:\Program Files (x86)\Android\android-sdk\temp\support_r10.zip (Access is denied) Skipping 'ARM EABI v7a System Image, Android API 16, revision 2'; it depends on 'SDK Platform Android 4.1, API 16, revision 2' which was not installed. Done. Nothing was installed. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: File not found
Hi, I am Anbu. Start the SDK manager as Administrator. -- - Right Click SDK Manager - Select Run As Administrator - Click the YES button if you need more details please mail me *laxman.a...@gmail.com*laxman.a...@gmail.com thanks On Sunday, September 2, 2012 7:49:11 AM UTC-7, Pete Thottam wrote: I am having the same problem when I try to install an Android Support Library update. On Saturday, August 18, 2012 5:01:03 AM UTC-7, Swami R wrote: Hi All, I have just joined andriod developers. When i try to update my sdk manager it is giving the following error. please help me out in this issue. Preparing to install archives Downloading Android SDK Tools, revision 20.0.3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\tools_r20.0.3-windows.zip (Access is denied) Downloading Android SDK Platform-tools, revision 14 File not found: C:\Program Files (x86)\Android\android-sdk\temp\platform-tools_r14-windows.zip (Access is denied) Downloading Documentation for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\docs-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.1, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.0.3, API 15, revision 3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-15_r03.zip (Access is denied) Downloading Samples for SDK API 16, revision 1 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-16_r01.zip (Access is denied) Downloading Samples for SDK API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-15_r02.zip (Access is denied) Downloading ARM EABI v7a System Image, Android API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sysimg_armv7a-15_r02.zip (Access is denied) Downloading Sources for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-16_r02.zip (Access is denied) Downloading Sources for Android SDK, API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r02.zip (Access is denied) Downloading Android Support Library, revision 10 File not found: C:\Program Files (x86)\Android\android-sdk\temp\support_r10.zip (Access is denied) Skipping 'ARM EABI v7a System Image, Android API 16, revision 2'; it depends on 'SDK Platform Android 4.1, API 16, revision 2' which was not installed. Done. Nothing was installed. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: File not found
Salam. you just have to start your SDK manager using run as administrator -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: File not found
I am having similar problems and it's not making me sleep. Can anyone try and help us out...or maybe i have to uninstall and install all the package againand what if it does not work. Am working on a company's app and and the pressure is pilling on me. ANY HELP..??? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: File not found
I am having the same problem when I try to install an Android Support Library update. On Saturday, August 18, 2012 5:01:03 AM UTC-7, Swami R wrote: Hi All, I have just joined andriod developers. When i try to update my sdk manager it is giving the following error. please help me out in this issue. Preparing to install archives Downloading Android SDK Tools, revision 20.0.3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\tools_r20.0.3-windows.zip (Access is denied) Downloading Android SDK Platform-tools, revision 14 File not found: C:\Program Files (x86)\Android\android-sdk\temp\platform-tools_r14-windows.zip (Access is denied) Downloading Documentation for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\docs-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.1, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.0.3, API 15, revision 3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-15_r03.zip (Access is denied) Downloading Samples for SDK API 16, revision 1 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-16_r01.zip (Access is denied) Downloading Samples for SDK API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-15_r02.zip (Access is denied) Downloading ARM EABI v7a System Image, Android API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sysimg_armv7a-15_r02.zip (Access is denied) Downloading Sources for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-16_r02.zip (Access is denied) Downloading Sources for Android SDK, API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r02.zip (Access is denied) Downloading Android Support Library, revision 10 File not found: C:\Program Files (x86)\Android\android-sdk\temp\support_r10.zip (Access is denied) Skipping 'ARM EABI v7a System Image, Android API 16, revision 2'; it depends on 'SDK Platform Android 4.1, API 16, revision 2' which was not installed. Done. Nothing was installed. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: File not found
Run as admin On Saturday, August 18, 2012 5:31:03 PM UTC+5:30, Swami R wrote: Hi All, I have just joined andriod developers. When i try to update my sdk manager it is giving the following error. please help me out in this issue. Preparing to install archives Downloading Android SDK Tools, revision 20.0.3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\tools_r20.0.3-windows.zip (Access is denied) Downloading Android SDK Platform-tools, revision 14 File not found: C:\Program Files (x86)\Android\android-sdk\temp\platform-tools_r14-windows.zip (Access is denied) Downloading Documentation for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\docs-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.1, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-16_r02.zip (Access is denied) Downloading SDK Platform Android 4.0.3, API 15, revision 3 File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-15_r03.zip (Access is denied) Downloading Samples for SDK API 16, revision 1 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-16_r01.zip (Access is denied) Downloading Samples for SDK API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-15_r02.zip (Access is denied) Downloading ARM EABI v7a System Image, Android API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sysimg_armv7a-15_r02.zip (Access is denied) Downloading Sources for Android SDK, API 16, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-16_r02.zip (Access is denied) Downloading Sources for Android SDK, API 15, revision 2 File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r02.zip (Access is denied) Downloading Android Support Library, revision 10 File not found: C:\Program Files (x86)\Android\android-sdk\temp\support_r10.zip (Access is denied) Skipping 'ARM EABI v7a System Image, Android API 16, revision 2'; it depends on 'SDK Platform Android 4.1, API 16, revision 2' which was not installed. Done. Nothing was installed. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en