Testing and using Android Problems

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ChipsmBUSNCaY
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 21
Joined: Thu Apr 12, 2012 4:25 am

Testing and using Android Problems

Post by ChipsmBUSNCaY » Sun May 13, 2012 5:39 pm

I installed the Android SDK but I am having problems testing and compiling programs for the Android environment.
I am running Windows 7, RunRev 5.5, and the SDK does let run the Android emulator.
I get a message box with the following message: Unable to build app for testing: could not compile application class.

Any help out there?

Clarence
Clarence Martin

ChipsmBUSNCaY
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 21
Joined: Thu Apr 12, 2012 4:25 am

Re: Testing and using Android Problems

Post by ChipsmBUSNCaY » Mon May 14, 2012 10:59 am

I solved my Android SDK problems.
I had to reload the SDK and finally got things to work.
Clarence Martin

pkmittal
Posts: 111
Joined: Thu Feb 08, 2007 11:27 am
Contact:

Re: Testing and using Android Problems

Post by pkmittal » Fri Jun 29, 2012 12:51 pm

Can you please tell me how did you solve? What do you mean by reload the SDK?

chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: Testing and using Android Problems

Post by chipsm » Fri Jun 29, 2012 1:48 pm

can you tell me what problems you are having.
I had errors loading the simulator.
I had to uninstall the Android SDK first - that is a complete uninstall. You need to erase the folder after you uninstall and then re-start your computer before you re-install the sdk.

This is for an error running my programs on a testing device.
I also had an error that mentioned the an ADB file. that was due to an obsolete ADB file on the device I was trying to test. That ADB file that was obsolete was on My Testing Android Device. That will need to be updated on your Android device.
So, like I said it depends on the type of error you are getting.
Clarence Martin
chipsm@themartinz.com

pkmittal
Posts: 111
Joined: Thu Feb 08, 2007 11:27 am
Contact:

Re: Testing and using Android Problems

Post by pkmittal » Fri Jun 29, 2012 3:39 pm

Can you please look into the link below where i have posted about the problems I am having.

http://forums.runrev.com/phpBB2/viewtop ... 53&t=12330

I am getting error There was an error while saving the standalone application.. Could not complie the applicaton class.

To configure the mobile support, I had to use Andriod2.2 Otherwise It does not load it.. and shows the message The choosen folder is not a valid Android SDK. Please ensure you have instaled coorectly. and enabled support for Andriod 2.2 (Froyo) ( It did not work with 4.1 and neither with 4.0, neither with 2.3.3).. But it could load with Andriod 2.2.. That is finPe...

It also shows the JDK Path.. Some people says that there are some problems with JDK 1.7 so I installed JDK 1.6

Now when I save the standalone, it gives the error...

Code: Select all

on mouseUp
   answer "Game Start"
end mouseUp
There was an error while saving the standalone application.. Could not complie the applicaton class.

So Please help what should I Do.. I am using Live Code 5.0.2.. I tried with 5.0.1 also.. (Windows XP+ JDK 1.6 + Andriod 2.2 loaded).

chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: Testing and using Android Problems

Post by chipsm » Fri Jun 29, 2012 4:55 pm

Make sure that when you run the SDK that you have installed all of the Android versions that you want to test with.
Not all versions of Android are installed automatically.
Make sure that you Android AVD is using the virtual Android device that you want to support.
Clarence Martin
chipsm@themartinz.com

Post Reply