Hi All,
I recently started with investigating the application development side of android. I am fairly familiar with Java and Eclipse but not at all with Android development.
I started by downloading the "adt-bundle-windows-x86_64-20140321.zip" which promises to be a fully contained eclipse/java development environment coupled with the android SDK and virtual devices.
I unzipped this in my windows 7 host and added some directories to my path settings. Eclipse en java work fine. However getting to work virtual devices to work consistently is a problem. I can create one without problems (actual type is completely irrelevant at this stage) and use snapshots. The first time around (after creation) running it doesn't seem to be a problem since all the buttons and gui functions seem to work.
However the second time the android (image) is presented (revived from snapshot?) without any reaction to mouse selection and is useless.
In avd I get the following errors :
NAND: nand_dev_load_disk_state ftruncate failed: Invalid argument
[2014-05-04 22:26:07 - Emulator] savevm: unable to load section nand_dev
and I think they have to do with the problem. Also running a first app (hello world) from eclipse (avd image selected in the run configuration) into this image doesn't work :
[2014-05-04 22:27:22 - MyFirstApp] emulator-5554 disconnected! Cancelling 'nl.pgs.myfirstapp.MainActivity activity launch'!
As a workaround I have tried switching off snapshots but this becomes impractcal since bootup time is immense and eclipse gives up "pushing" / installing the app to the device long before that.
Please help
thanks Peter
I recently started with investigating the application development side of android. I am fairly familiar with Java and Eclipse but not at all with Android development.
I started by downloading the "adt-bundle-windows-x86_64-20140321.zip" which promises to be a fully contained eclipse/java development environment coupled with the android SDK and virtual devices.
I unzipped this in my windows 7 host and added some directories to my path settings. Eclipse en java work fine. However getting to work virtual devices to work consistently is a problem. I can create one without problems (actual type is completely irrelevant at this stage) and use snapshots. The first time around (after creation) running it doesn't seem to be a problem since all the buttons and gui functions seem to work.
However the second time the android (image) is presented (revived from snapshot?) without any reaction to mouse selection and is useless.
In avd I get the following errors :
NAND: nand_dev_load_disk_state ftruncate failed: Invalid argument
[2014-05-04 22:26:07 - Emulator] savevm: unable to load section nand_dev
and I think they have to do with the problem. Also running a first app (hello world) from eclipse (avd image selected in the run configuration) into this image doesn't work :
[2014-05-04 22:27:22 - MyFirstApp] emulator-5554 disconnected! Cancelling 'nl.pgs.myfirstapp.MainActivity activity launch'!
As a workaround I have tried switching off snapshots but this becomes impractcal since bootup time is immense and eclipse gives up "pushing" / installing the app to the device long before that.
Please help
thanks Peter