Can I preset targetSdk while creating new project in Android Studio Dolphin? - android-studio

During the installation of Android Studio Dolphin 2021.3.1.17 the SDK platform 33 is default.
[Default SDK platform image]
Next when I try to create a new project, its default target SDK is 32, so it starts downloading SDK platform 32 automatically.
[SDK downloading image]
Then IDE recommends to upgrade SDK platform version to 33.
[Highlighted problem image]
[Problem description image]
I think the IDE is acting strange.
Can I choose specific target SDK while(before) creating a new projects?
Can I choose specific default SDK version during Android Studio installation?
Thank you!

Related

Download and offline install all android studio components

After I install the android studio which has 900+mb file size, it still ask for additional downloads of components like Android SDK, and Emulator etc. Im just renting in cafe's and download all I need and install in my pc coz I dont have internet in my house.
Is it possible to download these components manually and install manually, so that the android studio will recognize the components and stop askin for additional downloads?
Everytime I open it asks to download below SDK component (Total Downloaf Size : 1.13 GB)
Android Emulator,
Android SDK Build-Tools 28.0.3,
Android SDK Platform 28,
Android SDK. Platform-Tools,
Android SDK Tools,
Android Support Repository,
Google Repository,
SDK Patch Applier v4,
Sources for Android 28
You can download / install those dependencies separately, but you need to find the download link one by one which is quite tedious. Probably delegating Android Studio / SDK Manager to do this for you is the best option.

Android studio missing SDK Manager after update

After updating android studio I am missing my SDK manager icon. Right now I am using version 2.2.1. In system settings I could not find Android SDK tab.
You can open the SDK manager this way:
https://developer.android.com/studio/intro/update.html#sdk-manager

Google maps does not run on emulator and asks for Google play services update

I use:
Android studio 1.5
Java JDK 1.7
windows 7
Intel HAXM driver
I created a default google map activity with studio and I tried to run with but I get a message to upgrade my google servies.
As I read to documentation of android studio I have to set
compile 'com.google.android.gms:play-services:8.3.0'
on gradle in section dependencies. This was set by default.
I don't think that the problem is on my code but in emulator's configuration.
I strongly believe that the problem start from my android sdk packages but it is not possible to make any mistake. I test the same project in Linux OS that I have install android Dev environment and there is no problem at all. Google maps works.
I installed next packages
From tools:
Android SDK Tools
Android SDK platform-tools
Android SDK Build-tools
From Android 6.0(API 23)
Everything except ARM, Wear and TV packages.
From Extra:
Android Support Repository
Android Support Library
Google Play services
Google Repository
Google USB Driver
Intel x86 Emulator Accelerator(HAXM installer)
Next I create AVD from android studio:
I choose a device definition one from default
Then system image API level 23 with ABI x86 and target Android 6.0 (with Google APIs)
but automatically selects android 6.0 without Google APIs
Your problem may well be the same as mine, see AVD Error - Update Google Play Services. Sorry no solutions but perhaps you are correct that the fault lies with the current packages

Android Studio on Ubuntu 14

I am unable to install android studio on ubuntu 14.
The archive provided here https://developer.android.com/sdk/index.html#Other does not have the entire setup. The readme file says -
The Android SDK archive initially contains only the basic SDK tools. It does
not contain an Android platform or any third-party libraries. In fact, it
doesn't even have all the tools you need to develop an application.
Tried with the procedure described here, but the ppa is not available https://launchpad.net/~paolorotolo/+archive/ubuntu/android-studio.
Android Studio can be found here.
The link you posted points to the Android SDK which is required for Android programming - when you install the Android Studio it'll ask you to provide the Android SDK too.

Google Glass (Not installed)

I am new to Android Studio and google-Glass.
I am trying to create a knew project that will use google-glass but my problem is when I have to Check/select glass it is Disabled and I do not know how to fix this problem.
See the Image below.
and here is my SDK that shows that i have installed APK 19.
and with the Image below it shows that the glass does appear on Android Studio
can anyone please help me if the is something wrong that i am doing.
will appreciate your Help.
In my case, I needed to make sure I also installed the latest Android SDK Tools, Android SDK Platform-tools, and Android SDK Build-tools. Lastly, also install Android SDK Build-tools rev. 20. All four of these are under "Tools" in the SDK Manager.
Downloading the above allowed me to create a new Glass project.
Also try:
Go to File -> Project Structure -> SDK Location. Make sure it is the correct SDK directory.
I installed the GDK with version 1.3.2 but, even checking the correct path of the SDK and GDK, the initial wizard for starting a new project didn't recognize it (still was saying "Glass (not installed)").
I had then to uninstall the current version of Android Studio and delete the SDK; I installed version 1.1 and downloaded again the SDK and GDK and then it works.

Resources