Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
11/26/12 11:08 PM (13 years ago)

Uploading my package to eclipse (No errors) but wont Run on AVD!!

Hi I am New to the forum from Sydney Australia, I have followed all possible guides online as well as on the buzztouch database and still can not find a resolution Basically I have all the required Google API 8 2.2 SDK's installed correctly (not Android Froyo 2.2) I have no errors in my console, however when i create an AVD it all loads fine and i can use the AVD. I can even see my application icon!! However when i click on my application it says "This application is not installed on this phone" I do not understand how it can appear there but still say that after i launch the AVD with my project i get a couple of erros in the console the first one is "BT_activity_root] No Launcher activity found!" "BT_activity_root] The launch will only sync the application package on the device!" Then i get Emulator] could not get wglGetExtensionsStringARB Emulator] could not get wglGetExtensionsStringARB Emulator] could not get wglGetExtensionsStringARB Emulator] could not get wglGetExtensionsStringARB Emulator] could not get wglGetExtensionsStringARB Emulator] could not get wglGetExtensionsStringARB Emulator] could not get wglGetExtensionsStringARB which seems really wierd because i later get: BT_activity_root] Uploading BT_activity_root.apk onto device 'emulator-5554' BT_activity_root] Installing BT_activity_root.apk... BT_activity_root] Success! BT_activity_root] BT_activity_rootinBT_activity_root.apk installed on device BT_activity_root] Done! I have tried to set up plenty of AVD Devices but still say the same thing I feel like it should be a lot easier than this watching all the tutorials etc the application is a buzztouch v2.0 i have tried to clean the project,delete it and reinstall it, restart eclipse i would love any input or feedback Thanks in advance Julian
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/26/12 11:13 PM (13 years ago)
This is the log cat errors.. If anyone Can make sense of them 7 05:39:59.496: E/Launcher(204): Launcher does not have the permission to launch Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.SkyLinks/.BT_activity_root }. Make sure to create a MAIN intent-filter for the corresponding activity or use the exported attribute for this activity. tag=ApplicationInfo(title=Sky Links) intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.SkyLinks/.BT_activity_root } 11-27 05:39:59.496: E/Launcher(204): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.SkyLinks/.BT_activity_root } from ProcessRecord{45fd17d8 204:com.android.launcher/10020} (pid=204, uid=10020) requires null 11-27 05:39:59.496: E/Launcher(204): at android.os.Parcel.readException(Parcel.java:1247) 11-27 05:39:59.496: E/Launcher(204): at android.os.Parcel.readException(Parcel.java:1235) 11-27 05:39:59.496: E/Launcher(204): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1298) 11-27 05:39:59.496: E/Launcher(204): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1373) 11-27 05:39:59.496: E/Launcher(204): at android.app.Activity.startActivityForResult(Activity.java:2817) 11-27 05:39:59.496: E/Launcher(204): at com.android.launcher2.Launcher.startActivityForResult(Launcher.java:1053) 11-27 05:39:59.496: E/Launcher(204): at android.app.Activity.startActivity(Activity.java:2923) 11-27 05:39:59.496: E/Launcher(204): at com.android.launcher2.Launcher.startActivitySafely(Launcher.java:1462) 11-27 05:39:59.496: E/Launcher(204): at com.android.launcher2.AllApps2D.onItemClick(AllApps2D.java:178) 11-27 05:39:59.496: E/Launcher(204): at android.widget.AdapterView.performItemClick(AdapterView.java:284) 11-27 05:39:59.496: E/Launcher(204): at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696) 11-27 05:39:59.496: E/Launcher(204): at android.os.Handler.handleCallback(Handler.java:587) 11-27 05:39:59.496: E/Launcher(204): at android.os.Handler.dispatchMessage(Handler.java:92) 11-27 05:39:59.496: E/Launcher(204): at android.os.Looper.loop(Looper.java:123) 11-27 05:39:59.496: E/Launcher(204): at android.app.ActivityThread.main(ActivityThread.java:4627) 11-27 05:39:59.496: E/Launcher(204): at java.lang.reflect.Method.invokeNative(Native Method) 11-27 05:39:59.496: E/Launcher(204): at java.lang.reflect.Method.invoke(Method.java:521) 11-27 05:39:59.496: E/Launcher(204): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 11-27 05:39:59.496: E/Launcher(204): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 11-27 05:39:59.496: E/Launcher(204): at dalvik.system.NativeStart.main(Native Method)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/26/12 11:19 PM (13 years ago)
Hi Julian, Welcome to buzztouch! Sorry that you're having these issues right off the bat. You're right...it should be easier than this, and usually is! A quick Google search, and a general feeling, makes me think there is an issue with your manifest file. If you'd like, you could send it to me and I could take a look. Just pop your AndroidManifest.xml file in the mail to MrkFleming at gmail dot com and I can see what's up. Aside from that...have you made any changes to the code you've downloaded from buzztouch? Or are you just using what you got? Mark
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/27/12 01:23 AM (13 years ago)
This error really seems interesting. Normally this sort of error occurs when the developers fail / forget to declare the default activity in the manifest.xml file. In your case this should not occur coz you have downloaded the source code from bt which provides all the source code generated automated. I doubt that you have deleted the launcher activity by mistake. In bt apps the launcher activity is the - BT_activity_root.java file. The declaration relating to this is made in the line number 30 to 34 of the manifest file. which goes as follows:- <!-- activity root is the default, beginning activity --> <activity android:name="BT_activity_root" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" android:excludeFromRecents="false" android:noHistory="true"> Check that the above code is there in your manifest file. You can copy paste the above code in case you do not find the above code in your manifest file. This will fix the eror you are getting.
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 01:59 AM (13 years ago)
I haven't got any access to my project now as I'm not at home or work However I did look into the manifest file as people in a google search mentioned But I didn't find anything wrong I also deleted the whole project and then downloaded the source code again so I actually have not touched what the buzz touch source code has set As soon as I get a chance I will definitely send through my manifest file as soon as I get a chance I am a previous basic web designer and have an excellent understanding of computers but I'm new to the whole programming world Thank you for your help Even though I have stated I have checked all other avenues if there is something I might be missing please feel free to enlighten me
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 02:08 AM (13 years ago)
Could it have anything to do with plugins that have apple specific features? Such as fade away? I have them setup even though they don't work with Android? Could it have anything to do with how I have created my app?
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/27/12 02:25 AM (13 years ago)
Not at all. The animation effects wont create any errors coz android too support animations. Say if its possible to you we can have a teamviewer session say exactly 2 hours from now. I will be offline for couple of hours and will come online for you on team viewer. Just PM me your teamviewer id and password. Also send me your email so that i can contact you when i come online.
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 03:24 AM (13 years ago)
Could it have anything to do with plugins that have apple specific features? Such as fade away? I have them setup even though they don't work with Android? Could it have anything to do with how I have created my app?
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 03:27 AM (13 years ago)
I'm sorry but I don't have access to the project and won't for another lets say 12 hours or so So please don't trouble yourself but I really do appreciate the gesture I'm puzzled!!! It's so frustrating
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 04:19 AM (13 years ago)
I'm sorry but I don't have access to the project and won't for another lets say 12 hours or so So please don't trouble yourself but I really do appreciate the gesture I'm puzzled!!! It's so frustrating
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 04:49 AM (13 years ago)
I'm sorry but I don't have access to the project and won't for another lets say 12 hours or so So please don't trouble yourself but I really do appreciate the gesture I'm puzzled!!! It's so frustrating
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 03:57 PM (13 years ago)
just an update, i have also download the .apk to my android device and it has a similar error, it says "Something is not right" and it does not launch even though i can see the app on the screen i also now have access to the project and will for the next 7 hours or so, so if anyone wants me to try anything just let me know
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 04:16 PM (13 years ago)
i had a look in my manifest and it appeared as though i had identical to what sandeep has posted, however i copy and pasted it anyway... now i no longer got the "No Launcher Activity found error in my console" and "the application is not installed..." when i click on the app in the emulator this time i got "there is a problem with the apps configuration data, see the logcat data in eclipse"
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 04:20 PM (13 years ago)
this is the new log cat these are the errors only 11-27 23:03:53.836: E/Zygote(33): setreuid() failed. errno: 2 11-27 23:04:02.945: E/Zygote(33): setreuid() failed. errno: 17 11-27 23:04:04.597: E/BatteryService(73): acOnlinePath not found 11-27 23:04:04.597: E/BatteryService(73): usbOnlinePath not found 11-27 23:04:04.597: E/BatteryService(73): batteryStatusPath not found 11-27 23:04:04.605: E/BatteryService(73): batteryHealthPath not found 11-27 23:04:04.605: E/BatteryService(73): batteryPresentPath not found 11-27 23:04:04.605: E/BatteryService(73): batteryCapacityPath not found 11-27 23:04:04.605: E/BatteryService(73): batteryVoltagePath not found 11-27 23:04:04.605: E/BatteryService(73): batteryTemperaturePath not found 11-27 23:04:04.605: E/BatteryService(73): batteryTechnologyPath not found 11-27 23:04:04.645: E/SurfaceFlinger(73): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake 11-27 23:04:47.915: E/EventHub(73): could not get driver version for /dev/input/mouse0, Not a typewriter 11-27 23:04:47.925: E/EventHub(73): could not get driver version for /dev/input/mice, Not a typewriter 11-27 23:04:48.536: E/System(73): Failure starting core service 11-27 23:04:48.536: E/System(73): java.lang.SecurityException 11-27 23:04:48.536: E/System(73): at android.os.BinderProxy.transact(Native Method) 11-27 23:04:48.536: E/System(73): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146) 11-27 23:04:48.536: E/System(73): at android.os.ServiceManager.addService(ServiceManager.java:72) 11-27 23:04:48.536: E/System(73): at com.android.server.ServerThread.run(SystemServer.java:184) 11-27 23:04:49.496: E/SoundPool(73): error loading /system/media/audio/ui/Effect_Tick.ogg 11-27 23:04:49.496: E/SoundPool(73): error loading /system/media/audio/ui/KeypressStandard.ogg 11-27 23:04:49.505: E/SoundPool(73): error loading /system/media/audio/ui/KeypressSpacebar.ogg 11-27 23:04:49.515: E/SoundPool(73): error loading /system/media/audio/ui/KeypressDelete.ogg 11-27 23:04:49.525: E/SoundPool(73): error loading /system/media/audio/ui/KeypressReturn.ogg 11-27 23:05:04.586: E/ThrottleService(73): Could not open GPS configuration file /etc/gps.conf 11-27 23:05:04.615: E/ThrottleService(73): Error reading data file 11-27 23:05:05.145: E/logwrapper(172): executing /system/bin/tc failed: No such file or directory 11-27 23:05:05.195: E/logwrapper(173): executing /system/bin/tc failed: No such file or directory 11-27 23:05:05.227: E/logwrapper(174): executing /system/bin/tc failed: No such file or directory 11-27 23:05:10.567: E/logwrapper(184): executing /system/bin/tc failed: No such file or directory 11-27 23:05:10.625: E/logwrapper(185): executing /system/bin/tc failed: No such file or directory 11-27 23:05:10.675: E/logwrapper(186): executing /system/bin/tc failed: No such file or directory 11-27 23:05:22.149: E/HierarchicalStateMachine(73): TetherMaster - unhandledMessage: msg.what=3 11-27 23:05:22.330: E/HierarchicalStateMachine(73): TetherMaster - unhandledMessage: msg.what=3 11-27 23:05:22.759: E/HierarchicalStateMachine(73): TetherMaster - unhandledMessage: msg.what=3 11-27 23:06:03.549: E/MetadataRetrieverClient(34): failed to extract an album art 11-27 23:06:33.769: E/ThrottleService(73): Error reading data file : E/(): Device disconnected
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/27/12 05:00 PM (13 years ago)
Just ran Julian's package through Eclipse, and LogCat complained about invalid JSON. Ran it through jsonlint.org, and it complained about an Email screen. I be if that's deleted from the control panel, and the config file synced, it'll take care of the problem. Then we just need to figure out what's up with the Email screen! Mark
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 05:27 PM (13 years ago)
WOOOOO!!! Mark is a champion! The application now opens, it sucks (Thats my fault) but at least it opens hahaha!! thank you all very much for your help now i wonder why the email screen wasnt working?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/27/12 05:37 PM (13 years ago)
Sweet! For youR email screen, did you just select the default plugin that's available? Mark
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 07:20 PM (13 years ago)
Error generating final archive: java.io.IOException: Invalid keystore format OH OHH!! DONT DO THIS TO ME Yesterday i exported it to my android device to eliminate the emulator as the error today when i went to export it again i got the above error!! Please help!!! the keystore file is still there however it says its invalid so im thinking its corrupt
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/27/12 07:37 PM (13 years ago)
No need to fear! Just delete the copy on your device by going into Settings...Applications. Then do the same thing you did yesterday. It'll sign it again, and all will be well. Mark
 
Julian F
Apple Fan
Profile
Posts: 19
Reg: Nov 21, 2012
Sydney
2,540
like
11/27/12 08:27 PM (13 years ago)
fixed.. i deleted the keystore file and then cleaned the project and it worked
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/27/12 08:31 PM (13 years ago)
Rock on! Just make sure when you create and use a release keystore for the release version of the app, that you safeguard the keystore super closely! If you loose it, you'll have to create a new one, and you won't be able to update a previous version of the app because updates have to be signed with the same keystore. So, back it up! Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.