Apk not Installed on Android - android

How to fix ‘Application not Installed’ error on Androids

The Android SDK Manager provides the SDK tools, platforms, and other components you need to develop your apps.
To open the SDK Manager, click Tools > Android > SDK Manager or click SDK Manager in the toolbar.
When an update is available for a package you already have, a dash appears in the check box next to the package.
To update an item or install a new one, click the check box so it shows a checkmark.
To uninstall a package, click to clear the check box.
Pending updates are indicated in the left column with a download icon . Pending removals are indicated with a red cross .
To update the selected packages, click Apply or OK, then agree to any license agreements.

refer this links
'App not Installed' Error on Android
and this one
http://mobilityarena.com/fix-application-not-installed-error-androids/

Related

How to filter unwanted packages in android SDK?

Android SDK updater shows a lot of different system images. I don't need them all. Is there an option to check which packages I am interested to download in Android Studio
However, I cannot uncheck any system position image (only Android Repository and Offline Repo can be unchecked).
I think its important to clarify couple of things. Lets take your screenshot as base:
SDK platforms: It includes all android API. if any SDK platform installed .then it will be part of update-tracking.
SDK Tools: It includes developer tools. any checked one will be apart update-tracking.
SDK Update sites: It includes repositories for all resources.
If you don't want to get any update of any system image.. just don't install any image. Then You won't be notified about updates. Im pretty sure. You will get updates about what you have installed only.
If you still interested to uncheck Android System Images, do the following:
Launch SDK manager from SDK platforms by click on Launch
standalone SDK manager
Go to menu under Tools and click on Android Add-on Sites...
Uncheck Android System Images
Close and that's it 🙂
If you cannot click on Tools in menu. Try to change focus to another window and get back to SDK Manager Window. It happens with me on Mac
Good luck,'.
Instead of using the Android Studio updater you can also use the command line sdkmanager which can be found at your/path/to/Android/sdk/tools/bin/sdkmanager
With sdkmanager --list you can print a list of all available and install them with sdkmanager "system-images;the_wanted_system_image"
Im not sure why your screenshot shows SDK Update Sites (it's place where you can pick sources of updates, not updates itself), but if you will pick SDK Platforms tab, then click check Show Package Details you will be able to pick whatever you want.
Here is the easiest way according to me
Open run and type
%USERPROFILE%\AppData\Local\Android\sdk\system-images
and delete the unwanted system images from there Good Luck

No target available in Android project

I installed my eclipse
when selecting target , It says no target available
When I tried to add location in preferences , it says ADT is not up to date
SO I updated it in help as well
there was no change
SO I selected : "Install new software" in help and then at the end of the process, it says
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Hierarchy Viewer 23.0.7.2120684
How do i resolve this
Step to do -
1) Install latest packages from Android SDK (Main things required - Platform tools, Build Tools and latest platform(for example - Android API 23 Marshmallow))
2) Start Eclipse, then select Help > Install New Software.
3) Click Add, in the top-right corner.
4) In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:- https://dl-ssl.google.com/android/eclipse/
Note: The Android Developer Tools update site requires a secure connection. Make sure the update site URL you enter starts with HTTPS.
5) Click OK.
6) In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
7) In the next window, you'll see a list of the tools to be downloaded. Click Next.
8) Read and accept the license agreements, then click Finish.
If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
9) When the installation completes, restart Eclipse.
If the above doesn't work, get help from http://developer.android.com/sdk/installing/installing-adt.html
PS - Try using Android Studio. Also, if you like this answer, please mark it as selected.
If you're using Android Studio, restart the program > in the project menu, where you can for example start a new, or import a project, choose configurations > SDK manager.
Here should be everything you need for downloading the proper build tools for your project.
As it shows that there is a "conflicting dependency. Software being installed: Android Hierarchy Viewer 23.0.7.2120684". Then read the rest of the details about the problem, and search if it suggests any older version of the same file is already installed or not. In case of a conflict,
Go to BACK where you selected the ADT previously
select already installed
uninstall the old version of those files of which the new versions are offered in new ADT version
(i.e.: I was offered Hierarchy Viewer version 23, so i uninstalled Hierarchy Viewer version 17 and other items of older version 17 from "Already installed" link).
Picture showed in the link -> 1 & 2
N.B.: You can compare the offered version and installed version as the picture showed in the link -> 3
after uninstalling all the old version items which cause confliction with new ones, close the "Already installed" window and hit the NEXT button and see if it still suggests any confliction. Which means you missed to uninstall any item of any older version of same file.
In that case compare again and follow the same procedure and go ahead.
Hope you will find your desired solution by following these steps. Thank you.

How can I delete additional tools from the sdk folder in android

I have android studio 1.3 and my sdk folder is in full update. But I do not want to have API18, API19 and the higher API in my android studio. Because I do not need them. Please say me that if I do not want to use the API18 to higher,What things should I delete from the sdk folder exactly?
In the Android Studio SDK manager, click on the Show package details checkbox in the bottom right corner, then untick the boxes for all the old SDK versions/emulators/documentation etc that you want to delete, and hit Apply.
You can safely delete any files for older SDK's on the SDK Platforms page, but I'd advise leaving everything on the SDK Tools page installed as these don't take up much space, and for the most part are not platform specific.
Instead of Force Delete you can Make It Simple By Using SDK Manager, Just Open Sdk manager, Mark Those Installed API which you want to uninstall and Click on Uninstall Package. It Should be Uninstalled.
Run your SDK Manager, select all the tools you want to uninstall, and click on the "Delete Packages" button, this will remove all the tools you selected.

Error Message : This Android SDK requires Android Developer Toolkit version 22.6.1 or above

Recently I've encountered following error :
The strangest thing is that I've just updated some package from sdk via working eclipse. There was no information or warning that after this update current adt will crash. I've checked latest updates and can't find new adt even on google's page. Even new adb contain old adt.
From http://developer.android.com/tools/sdk/tools-notes.html:
Dependencies: Android SDK Platform-tools revision 18 or later. If you
are developing in Eclipse with ADT, note that this version of SDK
Tools is designed for use with ADT 22.6.1 and later. If you haven't
already, update your ADT Plugin to 22.6.1.
The only solution is to download new standalone eclipse and external plugin for it?
Does the android studio face the same problems?
Environment: linux x64.
Today me and one of my friends faced the same problem, so I have tried many things like restarting eclipse, checking updates, etc. but none was working for me.
Then I found a solution from Here and it's working as a charm for me and also for my friend.
Follow the steps here:
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the
Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to
Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded.
Click Next. Read and accept the license agreements, then click
Finish.
If you get a security warning saying that the authenticity or
validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
I reported this bug yesterday. Solution is to use Help -> Install new software option with httpS:// protocol (s is important). No special downloads or re-installations is needed, just choose the right update site.
The problem is that the default update site in Android ADT is
http://dl-ssl.google.com/android/eclipse/
but this site don't update correctly
And the solution is add a new Install site with protocol https
https://dl-ssl.google.com/android/eclipse/
Click in Help->Install New Software->Add
And use this site to update ADT
Issue : https://code.google.com/p/android/issues/detail?id=67325
To solve this problem, here I have covered steps, surely it will help you.
Please follow these steps:
Help | Install new software
Select the ADT update site (there are two, one with http:// and one with https:// If one doesn't work, try the other.
Select the developer tools section and press next.
You should see a dialog that says "this software is already installed, an update will be performed instead". Clicking ok will lead to 22.6.1 being installed.
Update 27/03/2014
They released 22.6.2 and fixed this issue so update your ADT to new version.
You can see this thread : Cannot update from ADT 22.3.0. to 22.6.1
You can go to Window->Android SDK Manager and check tha what version you have.
In my case it shows I already have toolkit 22.6.1 installed but still get the error. Whether you already have it or not, you can do the following to fix.
Go to Help->Install New Software... In the dialog shown below, click on 'Add' button on the top right side.
Paste "https://dl-ssl.google.com/android/eclipse/" in Location. You can name it anything.
Click Ok and follow the dialog by clicking Next.
If prompted with a message sasying you already have it, just agree so that it gets updated (or installed if it wasn't there).
This should resolve the issue.
source : http://codewriterstips.blogspot.nl
if your android sdk is to old . you must download new android sdk in developer.android.com and , copy past some nececary folder on it .

How to create New Android Virtual Device (AVD) on Mac?

I am using android-sdk-macosx to download from the internet, then installed Android SDK 2.2 and 2.1 successfully, then I tried to create new AVD on mac, but I don't have any idea about how to create AVD.
I tried this below mentioned for your reference:
Fig 1.0 Create new AVD
Fig 2.0 I tried to open SDK and AVD Manager in eclipse menu Window --> Android SDK Manager
In Eclipse, go to Windows Menu , Select Preference Option so, following dialog box will appear. Just select the Android-SDK folder using Browse Button.
After doing this step click on the "Apply Button",
Now, you will be able to create new AVD in your eclipse.
Note, I have upload this image using Windows System, but i am sure, MAC has some, same kind of menu option.
Follow this seven steps to fix this issues:
1. Start Eclipse, then select Help > Install New Software.
2. Click Add, in the top-right corner.
3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
4. If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
5. In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
6. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
7. When the installation completes, restart Eclipse.
It looks like you need to configure Eclipse to tell it where the android-sdk-macosx directory is (this can be done in 'Window>Preferences>Android> SDK Location".
Also, take a look at this page.
In the screenshot Fig 4.0, there's an error message at the top of the widow, which probably explains why the apply button is not available.
While the message cannot be read completely, I think it says that your version of ADT (Android Developer tools) does not match your version of the SDK : I might want to try updating both .
Also, take a look at this question, which might be about the same problem.

Categories

Resources