I managed to have a quick go which wasn't working. See how it goes tonight after a reboot.
I tried the adb kill/start commands, and nothing listed when I did the adb devices.
I assume gideros player and eclipse must be doing very different things when outputting? Gideros player I can tell it to go to a 10.0.0.X address and it happily displays on my tablet, despite no driver, whereas eclipse needs to communicate via a driver? I can't just tell it to display to an IP address? I'm keen to understand this difference.
I'm assuming in the case of Gideros Studio (after selecting the IP address of the tablet), the GiderosPlayer on the tablet is sitting there waiting for a particular type of communication and intercepts?
I also had a go at trying to export from eclipse, so I could copy the package from there to my tablet. I had no idea what to answer to the questions about an authority key or something along those lines.
You don't really need to control your device through USB. You can simply prepare the APK, copy to your device and install it manually. Given the trouble you are having I'd recommend this approach.
In Eclipse right click on your project and choose Android tools > Export unsigned application package. Choose a filename and Eclipse will generate the APK. You can then drag/drop this APK file to your device. To actually install the program you need an Android installer app. There are many free ones on Google Play, I use "Apk Installer".
The stuff about keys you saw relates to signing your app before submitting to Google Play. You can cross this bridge later!
I did try the export, saw another tip in the forums about doing it. Managed to get the APK across to the tablet. Didn't realise I needed an installer, I assumed it was ready at that stage. Thanks I will look for an installer.
I tried it and it just says "App not installed" no explanation at all.
The apk sits in mnt/sdcard/gideros. Where will it try to install to by default? Should I move it elsewhere before trying to use the apk installer?
I use AppInstaller. It will search your sdcard and give you a list of apps it found there. Simply click on your app and you will be asked if you wish to install the app. Simples
@scouser, there was already an app on my tablet called "apk installer" I used that, pointed it at the apk, and it just said 'apk not installed', not terribly helpful. No idea why it failed.
If I rename it .zip I can see assets, lib, res folders, and in the assets folder I can see my images and fonts, and all my code with an additional .jet suffix.
I used dropbox from pc to tablet, placed it on the sdcard.
I just press the apk file (using astro file manager) and it tries to install, and fails, with no explanation.
I've also tried by running apk installer first, navigating to the apk and running it, same result, and same with Appinstaller.
I've got a couple of settings changes on the tablet, that were suggested, something like allowing non market apps, and debugging on.
Wow what a struggle you are having. Have you tried installing one of the example Gideros projects? Do you know anyone with another Android device you could try? I'm starting to think the issue is down to the device you have...
I guess some other options that spring to mind to determine where the problem is:
1. Forward my created package to someone else with an Android and see if they can install it(would tell me the package is actually ok) 2. Setup the software on my laptop and see if I can make things work from there(determine if my PC setup is at fault) 3. Attempt an install on my Android phone(if that works, maybe my tablet has an environment issue, e.g. setting) 4. As @john26 suggests I could try export a sample project(if that works, something is wrong with my code?) 5. Ask someone to forward me their packaged Android project and I will try install that on my tablet(if it works then my packaged apk is likely culprit) 6. Document exactly which menu items and answers to questions in exporting, and seek comment.
By the way I can run the game on my tablet via Gideros Studio pointing at the IP address of my tablet. At least something is working for me
@loucsam: How did you install the GiderosPlayer onto your tablet?
It appears that the player is working so it must be something you are doing with your export process from Gideros Studio / Eclipse.
There are quite a few tutorials on how to create a version of the GiderosPlayer app but I will supply a link to my own. Follow this process to see if you can create a working APK file and we'll take it from there.
I must get around to uploading the images for my other tutorials and make them live. The text is already written but I just haven't had the motivation. So much to do, so little time.
update: This Gideros Player installed successfully, but then so did the original one I used, so I'm not sure how this will help me? Although this is the first thing I have built inside eclipse that installed ok on my tablet, so one step forward.
Comments
This would suggest the link is not quite right?
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Thankyou
I tried the adb kill/start commands, and nothing listed when I did the adb devices.
I assume gideros player and eclipse must be doing very different things when outputting? Gideros player I can tell it to go to a 10.0.0.X address and it happily displays on my tablet, despite no driver, whereas eclipse needs to communicate via a driver? I can't just tell it to display to an IP address? I'm keen to understand this difference.
I'm assuming in the case of Gideros Studio (after selecting the IP address of the tablet), the GiderosPlayer on the tablet is sitting there waiting for a particular type of communication and intercepts?
I've written to the company, but not really expecting a helpful response about a driver being supplied.
@scouser Maybe I should try the 32 bit driver you supplied(I tried 64 because I'm on 64 WIndows 7)
In Eclipse right click on your project and choose Android tools > Export unsigned application package. Choose a filename and Eclipse will generate the APK. You can then drag/drop this APK file to your device. To actually install the program you need an Android installer app. There are many free ones on Google Play, I use "Apk Installer".
The stuff about keys you saw relates to signing your app before submitting to Google Play. You can cross this bridge later!
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
I tried it and it just says "App not installed" no explanation at all.
The apk sits in mnt/sdcard/gideros. Where will it try to install to by default?
Should I move it elsewhere before trying to use the apk installer?
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Do you have enough free storage on your tablet?
How did you get your app onto your tablet?
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
If I rename it .zip I can see assets, lib, res folders, and in the assets folder I can see my images and fonts, and all my code with an additional .jet suffix.
I used dropbox from pc to tablet, placed it on the sdcard.
I just press the apk file (using astro file manager) and it tries to install, and fails, with no explanation.
I've also tried by running apk installer first, navigating to the apk and running it, same result, and same with Appinstaller.
I've got a couple of settings changes on the tablet, that were suggested, something like allowing non market apps, and debugging on.
Running out of ideas.
Plenty of free space yes.
I installed a packaged up kit for eclipse/android sdk/adb etc on the PC for deployment packaging and when I run the SDK Manager I think it is suggesting it is using "Android 4.2(API 17)"
(From this link: http://let-us-android.blogspot.com.au/2012/11/android-sdk-offline-intstaller-tools.html#.UTKNujB7d8E )
Anyone understand if this is a potential source of the APK not installing or shouldn't it matter?
Also would it matter if I used the 64 bit version, as there is also a 32 bit one?
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
1. Forward my created package to someone else with an Android and see if they can install it(would tell me the package is actually ok)
2. Setup the software on my laptop and see if I can make things work from there(determine if my PC setup is at fault)
3. Attempt an install on my Android phone(if that works, maybe my tablet has an environment issue, e.g. setting)
4. As @john26 suggests I could try export a sample project(if that works, something is wrong with my code?)
5. Ask someone to forward me their packaged Android project and I will try install that on my tablet(if it works then my packaged apk is likely culprit)
6. Document exactly which menu items and answers to questions in exporting, and seek comment.
By the way I can run the game on my tablet via Gideros Studio pointing at the IP address of my tablet. At least something is working for me
It appears that the player is working so it must be something you are doing with your export process from Gideros Studio / Eclipse.
There are quite a few tutorials on how to create a version of the GiderosPlayer app but I will supply a link to my own. Follow this process to see if you can create a working APK file and we'll take it from there.
I must get around to uploading the images for my other tutorials and make them live. The text is already written but I just haven't had the motivation. So much to do, so little time.
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
To install the Gideros Player I simply found the GiderosPlayer.apk which I believe I found in the root folder of the gideros install.
Woohoo. Thankyou so much, but I am still puzzled why it now works?
I really appreciate the help.