Wednesday, September 24, 2014

Issues and fixes to the command problems faced during the Android Apps Development

Issue 1: “no system images installed for this target” while creating a new AVD

Solution: system-images/ folder might not be present in extracted “sdk” directory.

  • In eclipse, open “Window” and then select “Android SDK Manager”
  • This shows the updates available for Android SDK.
  • Here select “ARM EABI v7a System Image” and click on “Install Paackages”

After this, restart the eclipse, which should solve the issue.

Issuse 2: Avoid message "Can’t connect to the Internet. Swipe for some tips." when the AVD is opened


Solution: There are few issues with API level 20 and this is one of them. Install API Level 19 and use it, instead of API Level 20. That should solve the problem.

Issue 3: When "EditText" component is used, getting following message and not able to build the xml properly.
raised during rendering: java.lang.System.arraycopy([CI[CII)V Exception details are logged in Window > Show View > Error Log

Solution: This occurs due to the installation of "Android 4.4W version". If we remove this, then the above error message should go away.
To uninstall this package, Open Windows > Android SDK Manager > Select the installed packages under "Android 4.4W" and delete those packages.
Restart eclispe.

No comments:

Post a Comment