Can I reinstall remote Android APIs?

While trying to get one of the API demos, I deleted the source files of the specified demo by mistake. No problem, I thought, I just reinstalled the API level and returned the source code. Therefore, after removing the 2.1 API from the Android SDK, I found that it will not allow me to reboot and install them, they simply do not appear. So, does anyone know how I can make the SDK forget that API 2.1 was installed and then removed, or I need to remove the entire SDK and install it again, including the API. Pretty standard insta

Thanks so much for any help you can give me.

+4
source share
4 answers

I had a similar problem when trying to install the Demos API for 2.3 on top of the currently installed APIs for version 2.1. The console displayed the following even when I manually deleted it from the file system:

Re-installation failed due to different application signatures. You must perform a full uninstall of the application. WARNING: This will remove the application data! Please execute 'adb uninstall com.example.android.apis' in a shell. Launch canceled! 

Unfortunately, removing the API demos from the phone was not possible. The solution I came up with was to move all installed applications to the SD card and factory reset to the phone ( Settings → Privacy → factory Reset Data ).

+2
source

I think I have a soln. Go to Settings > Security > Device Administrators . If you see Api Demo, just uninstall it and then try installing again.

NOTE. Instructions are given for Android 4.0.3 and 2.2.3. So work should work on other platforms.

+2
source

Have you checked in installed packages? as you can reinstall them> go to sdk> available packages> select all> install selected enter image description here

+1
source

Go to Settings → Applications → ApiDemos. Click the delete button

+1
source

Source: https://habr.com/ru/post/1334704/


All Articles