Using Android Studio 3.0 / SDK Manager
In trying to set up BILLING, tutorials show installing it through Extras in SDK Manager.
I don't have an Extras folder in SDK manager and can't find any reason why, how to get it, what's wrong, or what to do.
Help. please?
UPDATE: Here's what my SDK Manager looks like:
UPDATE: Here's my SDK Manager Updates Tab
You're using an outdated tutorial.
If you're doing native Android development, you should be using the Play Billing Library, which does not require installing anything via the SDK Manager.
If you really need to install the Billing Library directly, you can find it in the SDK Tools tab of the SDK Manager:
Correct answer is: don't need Android Studio for Cordova.
So basically I can't find the option to install/download the Google Play Services in the Extras folder of the Android SDK Manager. What could be the possible reasons ?
Meanwhile can somebody provide the link to download the lib from the Web ?
I had the same problem and finally figured out a solution that worked for me. Here's what I did:
Go to Help -> Install New Software.
My android environment was already set up, so I picked "https://dl-ssl.google.com/android/eclipse/" from the drop down menu
Check the top level option - "Developer Tools"
Hit the next button and follow the prompts. It said I already had it installed and this would apply an update
Ran the SDK Manager again and it now showed me the Google Play Services option to install
Same problem, there are only 2 items (Android Support Library and Intel Emulator Accelerator) in my Extras folder...
I running Windows 8.1 64bit , so maybe a bug..
Solution:
Step 1: Update everything you already have installed using the SDK manager
Step 2: Reopen SDK manager, you should see more stuff under extras including Google Play Services.
where are you looking for Google Play Services?
After installing it via SDK Manager, you can get it in your SDK folder extras/google/google_play_services
You have to import it first in your IDE and then include in your project as a library project.
If your at SDK 19 you may not have it show because your SDK is too low, at least it was the case for me. I was offered it among 17 other install recommendations after upgrading to SDK 20, SDK Tools 23.
Downloading new version of adt solved my problem
i had the same problem and i solved by install the last SDk update and build tools and the
google_play_services appear in tools folder to download
here is the solution i got it. please download new version of the android adt bundle and extract the folder then go to the folder right click the sdk manger and run at administrator and restart your system open eclipse go to sdk manager under extras folder you have google play services finally update it.
Open your SDK Manager and update Android SDK Tools. I had the same problem and this solved.
While I am trying to Install API 18 it shows only "Google API 18"(nothing more). Now if I try to install these google APIs from Android SDK Manager it shows a message "this package depends on "Missing SDK platform Android, API 18". and Install button is disabled.
Does anybody here have Any idea how to install API 18(4.3_MR2 sdk) with eclipse
Have you installed SDK platform tool version 18? In your SDK Manager, there will be the latest version of SDK Platform tools that you have to install first then restart eclipse and then try for Android SDK API 18
Do this first:
Eclipse > Window > Android SDK Manager > Packages > Reload
Then retry installing
Another way of fixing it:
0) install other packages WITHOUT selecting API 18,
1) restart the Eclipse ADT,
2) Open SDK manager, then API 18 rev 1 shall appear.
Late to the game, same issue. Neither the SDK Tools not the SDK Platform tools showed up for me. This was a 4-step process:
Eclipse/Help/Check for Updates, installed everything that was found, restarted Eclipse
Eclipse/Window/Android SDK Manager - installed Android Support Repository (thanks, BurDog). Closed SDK Manager.
Eclipse/Window/Android SDK Manager - now the Android SDK Tools (Rev 22) showed up at the top, installed. Closed SDK Manager
Now the Android SDK Platform Tools showed up in the API 18 section - installed. Restart Eclipse (or API 18 will not be available everywhere).
Finally good to go to build a new version.
I had the same situation. For me worked updating ADT Plugin to version 22.0.5, closing Eclipse. Then - Eclipse > Window > Android SDK Manager > Packages > Reload.
Hopefully this will help somebody.
Had the same problem. Message was:
package google apis android api 18 revision 1 depends on missing sdk platform android api 18
I solved it like the following steps:
Eclipse -> Help -> Check for Updates (then click on "ok" when asked - do you want to install it - click on "ok" / "yes" to restart eclipse to finish the installation)
Window -> Android SDK Manager -> Deselect all (then scroll down to Extras and Select only Android Support Respository, when not installed, install it)
Window -> Android SDK Manager -> Install xx packages
worked fine for me.
This is how I fixed mine:
Under "Manifest Cache", click on "Clear Cache"
Go to "Packages" and click on "Reload"
Check Tools --> Android SDK Platform-tools
Install just this package
Restart SDK Manager
Eclipse > Window > Android SDK Manager > Packages > Reload
This worked for me. Thanks! Now I can update to 18. I'm new here and tried to vote up Jaguar's post, but I can't.
Seemed kind of klukey, I had similar issues. I finally got passed the api 18 msg when I updated the sdk tools to 22 which then prompted another error that the tools were degraded on reload. I opened sdk mgr again and had a 22.3 and platform tools to rev19 and some other tool choices available. I did yet another update to them along with the API19 and API 18 and it seems like it is moving along now. I think maybe for API 18+ you must update the SDK tools to 22.3 at this point.
Btw, I also got a file lock during part of the process and closing eclipse in the background and hitting retry fixed.
dang.. next it is saying that the ADT must be version 22.0+..
I updated the ADT to 22.3 by using the eclipse/help/install new software (Trying update simply said it was up to date)... one unsigned content error..
Restarted ADT after update.. seems to be working from what I can tell so far.
I´ve solved with this:
Open Android SDK Manager -> Packages -> Reload
Restart Android SDK Manager
Install the "missing" packages (now visible)
I had this problem on my Mac and Windows development machines. The only solution is to reinstall the latest version of the Android SDK. Google really dropped the ball on this.
I had a similar issue as you (purely from problem description), but my Android SDK Platform-tools WAS already installed (16.0.2). All the other packages didn't recognize it, however. I ended up uninstalling the platform tools, and then reinstalling. Then everything else recognized it.
Found from a different website
The steps to resolve this issue:
Open SDK Manager
Go to Tools -> Options
Under "Manifest Cache", click on "Clear Cache"
Then go to "Packages" and click on "Reload"
I am on MAC, I faced the same question. I couldn't find SDK Platform in API 18. The solution to solve it on mac is install the SDK TOOLS first, then restart the sdk manager and then I found the SDK Platform in API 18.
I was having the same problem, but with API19. I installed the following individually, closing Android SDK Manager after each install (thanks cdoner):
Android SDK Tools 22.3
Android Support Repository 3
And then I was able to install API19 with it no longer throwing the error.
("This package depends on 'Missing SDK Platform Android, API19')
I decided to get back into coding after 15+ years and am completely new to Java and Android having only read the book, Head Start Java. Thank you for the easy to follow steps, especially for someone new.
I could not install new SDK from Eclipse (Help -> Install New Software / Check For Updates), it complained the new version is already installed. However, the new SDK did not show up in the SDK manager.
I solved it by installing the new SDK version through command line: android update sdk --no-ui
Afterwards it was possible to update the google APIs and other tools via the SDK manager.
clearing cache solved problem for me. (Tools >option)
I had this problem with API 19. The key for me to use the Android SDK Manager starting in eclipse. Then, the advice above worked to fix the issue.
Background: Because of other command line stuff I was doing, I was starting the SDK Manager by typing "android" at the prompt. - which is what the error I was getting said to do.
it needs minimum sdk and maximum sdk packages.
you just only installed the maximum sdk ie.,API18
3.it also depends on other sdk packages for minimum
My solution to Missing SDK platform Android, API 26 ( It should work for API 18 as well)
Update SDK Tools
Restart SDK Manager and Eclipse
Install SDK Platform API 26, which is now visible
Install the other API 26 packages
If you're using the deprecated version of sdk manager like version r24.xx, then you need to first update the platform tools from sdk installation menu, before installing anything. You may have to do this several times (as long as the update notification shows up)
I'm following the instruction about using gcm here http://developer.android.com/guide/google/gcm/gs.html, and I'm stuck at the following step:
Install the Helper Libraries
To perform the steps described in the following sections, you must first install the helper libraries (reference: client and server). From the SDK Manager, install Extras > Google Cloud Messaging for Android Library. This creates a gcm directory under YOUR_SDK_ROOT/extras/google/ containing these subdirectories: gcm-client, gcm-demo-appengine, gcm-demo-client, gcm-demo-server, and gcm-server.
In my SDK manager, I can't find the option: Google Cloud Messaging for Android Library, as I captured in this screenshot , what I should do to resolve this? Thanks
I had this same issue. You must update EVERYTHING else in the Eclipse plug-in before GCM will show up. Force an update from the sdk manager and it will show up once the version is current.
Use the Android SDK Manager to update your SDK to r20, after which you'll also need to update your Eclipse plugin. You'll then find the Google Cloud Messaging for Android Library under Extras in the SDK manager, along with everything else. Just select what you want to install.
And if following error comes :- android sdk manager nothing was installed
Then
Go to the folder where android-sdk resides.
Right click on SDK Manager and select run as administrator.
Restart eclipse.
Run Eclipse
Go Eclipse Menu ::
Help >> Install New Software
in the Install Window setting like this
If youe select "Work with " list box ADT Site
:: my case is like that "ADT Site - https://dl-ssl.google.com/android/eclipse"
Check all
Develop Tools
NDK Plugins
and Next and finish...
Now go to "Android SDK Manager" window
You will see in "Extras" category and "Google Cloud Messaging for Android Library"
Following billing integration tutorial, I should now install Google Play billing package from SDK manager (see figure 1). However, in my SDK manager I don't have this package listed under Extras nor anywhere else.
Where can I get this billing example?
I also face this problem this morning but I finally solved it.
To solve it, update your ADT plugin to the latest version,
you should able to see the packages then.
After updating the ADT plugin, you may also need to update installed tools to the latest version to ensure you existing projects can run normally.
Via SDK Manager, I updated Android SDK Tools and Android SDK Platform Tools, re-ran SDK Manager, and the billing package then appeared under Extras as expected.