Arcgis android-installation Error:install_failed_insufficient_storage

Source: Internet
Author: User

Error:

Installation Error:install_failed_insufficient_storage

Please check the Logcat output for more details.

Launch canceled!

: This is the first cheat log I started to touch with ArcGIS Android, and I feel that it's really challenging to play GIS on Android, which is more difficult than the environment on the web. No more nonsense, back to the subject.

Turn ' installation error:install_failed_insufficient_storage ' to lowercase (lowercase I look relatively straight), for ' installation error:install_failed_ Insufficient_storage ', literally know, this is due to insufficient memory (I use the emulator, online search, many people finally solve the problem is not the only.)

1, I first in the Emulator "menu" and "Manage apps", uninstall the program inside, rerun, or the same error.

2, look at the memory in emulator, very small, so in "Android virtual device Manager", modify the Android VM (edit Android), add memory, increase the "Internal Storage "and" SD Card "value,:, but still not.

3, add the "\androidmanifest.xml" file in the project android:installlocation= "preferexternal" code, as follows (line 4th):

1 <?XML version= "1.0" encoding= "Utf-8"?>2 <Manifestxmlns:android= "Http://schemas.android.com/apk/res/android"3  Package= "Juk.demos"4 android:installlocation= "Preferexternal"--Add this line of code5 Android:versioncode= "1"6 Android:versionname= "1.0">7     <USES-SDKandroid:minsdkversion= "+" />8 9     Ten <uses-permissionAndroid:name= "Android.permission.INTERNET" /> One <uses-permissionAndroid:name= "Android.permission.ACCESS_FINE_LOCATION" /> A <uses-permissionAndroid:name= "Android.permission.WRITE_EXTERNAL_STORAGE" /> - <uses-featureandroid:glesversion= "0x00020000"android:required= "true"/>  -  the  - <ApplicationAndroid:icon= "@drawable/ic_launcher"Android:label= "@string/app_name"> -         <ActivityAndroid:name=". Tryofflineactivity " - Android:label= "@string/app_name"> +             <Intent-filter> -                 <ActionAndroid:name= "Android.intent.action.MAIN" /> +                 <categoryAndroid:name= "Android.intent.category.LAUNCHER" /> A             </Intent-filter> at         </Activity> -  -     </Application> - </Manifest>

But it's still not working.

4, a netizen said to modify the emulator memory with such as '-partition-size 512 ' command, in the "Target" tab in "Run Configuration" in the "Emulator launch parameters" group " Additional Emulator Command Line Options "Want to add '-partition-size 512 ',:, run or not."

5, finally found that the 3rd step in the 'preferexternal' modified to ' auto ', can be. That is:

1 <?XML version= "1.0" encoding= "Utf-8"?>2 <Manifestxmlns:android= "Http://schemas.android.com/apk/res/android"3  Package= "Juk.demos"4 android:installlocation= "Auto"--Add this line of code5 Android:versioncode= "1"6 Android:versionname= "1.0">7     <USES-SDKandroid:minsdkversion= "+" />8 9     Ten <uses-permissionAndroid:name= "Android.permission.INTERNET" /> One <uses-permissionAndroid:name= "Android.permission.ACCESS_FINE_LOCATION" /> A <uses-permissionAndroid:name= "Android.permission.WRITE_EXTERNAL_STORAGE" /> - <uses-featureandroid:glesversion= "0x00020000"android:required= "true"/>  -  the  - <ApplicationAndroid:icon= "@drawable/ic_launcher"Android:label= "@string/app_name"> -         <ActivityAndroid:name=". Tryofflineactivity " - Android:label= "@string/app_name"> +             <Intent-filter> -                 <ActionAndroid:name= "Android.intent.action.MAIN" /> +                 <categoryAndroid:name= "Android.intent.category.LAUNCHER" /> A             </Intent-filter> at         </Activity> -  -     </Application> - </Manifest>

Run successfully.:

Arcgis android-installation Error:install_failed_insufficient_storage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.