I recently upgraded to Android Studio 2.2.2 and the ability to add an activity during the Create New Project quick start is no longer available. Where/how can I add my first activity in to a project?
Thank you!
Unfortunately, there are some issues with latest 2.2.2 version of Android Studio, especially on Linux systems. Please delete/uninstall existing version and download 2.2.1 from tools.android.com.
I faced the same issue in android.2.2.3 "new activity" not listed, but a simple restart of android studio solves it. I restarted android studio and now it shows new activity option..
Related
I want to add a Run/Debug Configuration for an iOS Application for a Kotlin Multiplatform Mobile application in Android Studio 4.1.2. However, there seems to be a problem with the configuration for iOS.
In the screenshot below you can see the problem. In the dialog "Run/Debug Configuration" Android Studio complains about
Error: Please specify Xcode project location in xcodeproj property of gradle.properties
Using the "Fix" button does not solve the problem. Android Studio just adds an additional xcodeproj to gradle.properties and the complains about a duplicate parameter.
I also tried different paths (relative and absolute) for xcodeproj. No luck.
If I remember correctly, it used to work out of the box. A new Kotlin Multiplatform Mobile project was automatically configured for Android and iOS. I'm not sure what changed. Probably something was updated.
Is this a bug with the KMM plugin? Or is there something I can do on my system to fix this?
don't do that with Android Studio.
Just open Xcode, click on 'open another project...', locate to the iosApp folder that named it when creating your project on Android Studio.
after that, just click run and have fun.
If the project doesn't run right away even on opening it from Xcode and shows the shared framework is missing, Then try generating the shared framework for iOS platform using terminal. Navigate to the project folder and execute
Command: ./gradlew packForXcode
Now the shared framework should have a xcode-frameworks product and you should be able to build and run the project through Xcode.
I fixed it by downgrading the Kotlin version from 1.4.30 to 1.4.21. You can check this thread here. To downgrade, download the version you want from the plugin store and choose the install plugin from disk as in the picture below
Upgrading Android Studio version to 4.2.1, KMM plugin version to 0.2.6, creating new KMM project with KMM plugin, the problem can be fixed automatically.
If you don't wanna use Xcode:
Look like there is some IDE issues in this versions, one option would be to downgrade the Kotlin version.
What worked for me was to download the latest Canary Android Studio and setup my KMM project there.
Hopefully soon this will be stable for the next versions
Same as here: https://stackoverflow.com/a/66941077/3117650
Look like there is some IDE issues in this versions, one option would be to downgrade the Kotlin version.
What worked for me was to download the latest Canary Android Studio and setup my KMM project there.
Hopefully soon this will be stable for the next versions
This is the issue i am getting.
Error not rendering issue
i tried all the options available on the web. it is a new installation of studio 3.1.3 and it is happening for every new project as i did not test with any old project as i do not have one.
steps to recreate is to clean installation of android studio 3.1.3 and create a new project. i tried to create multiple projects but same issue.
i tried all the options available on Android Studio 3.1.3 having issues with Constraint layout link but all are failing.
any one let me a studio version name where i will not get this issue. i just wanted to develop a app. and i am not a andriod developer. so these issues are very annoying for me.
Have the same problem. I think it's from Android SDK Platform 28 so I uninstall it, and use Android SDK Platform 27 and it work for me.
To uninstall : Tools> SDK Manager> System setting> Android SDK> Show package detail(little
box on the right below corner)> Put out the check sign from Android SDK
Platform 28 > apply and try new project.
Note : Sorry for bad English.
I am stuck in my Android Studio and not able to open it. So i want to install new Android Studio with a lower version than previous. So, where did i get it?
Here, on the below link you are able to get all the versions of Android Studio.
https://android-studio.en.uptodown.com/windows/old
Go and get your suitable version of Android Studio.
Here you have old versions:
https://developer.android.com/studio/archive.html
Not all versions are available.
My current Android Studio installation (linux-64bit) is showing a pop-up saying there is a new Version of Android Studio 2.
I am unable to download the current stable of Android Studio.
The download-link (on big green button) reffers to the Terms and Conditions. If i Accept and klick the button (which is showing no text, which is also strange) it redirects me to the index page again.
Here is the index page: http://developer.android.com/sdk/index.html
Have they withdrawn the release or something? Does anybody know a direct-link?
Thank you for any help on it
You need to have a little patience and try to check for update from time to time until you'll be able to update Android Studio from within the IDE. I encountered the same issues as you but after a while it worked well.
My advise is to wait with the upgrading to 2.0 and stick with your 1.5 version because a lot of people here have problems with Android Studio 2.0 (for now it is kind of buggy, maybe later Google will fixed some issues...).
As an example of my problems with Android Studio 2.0 I've posted recently, check this: After upgrading to Android Studio 2.0, I cannot change the screen orientation in the Android emulator, but of course it is your decision to upgrade or not :) .
P.S. I'm a linux user too.
As this is entirely a new version, you will not be able to update (or upgrade) from within the app.
You will have to download the installer and install at the same location replacing your Android studio 1.5
I did the same thing and is working for me.
Regards
Vivek
I am new to Android studio. I tried to create my first project and there is no project structure only gradle files. What am I doing wrong? I keep getting these files with creation of another new project.
Update SDK via Android SDK Manager. You need all packages in Tools to be installed.
But even after doing so, I can't make it to auto generate resources. So I continue to deal with it...
I found what was my problem. I updated Android studio from version 1.x to 2.x. On official site is written that if you try to install version 2.x into same location Android studio might not work properly and there could be some unexpected behavior.
So just removing Android studio and then reinstaling it, worked perfectly.