Android studio trying to download wrong version






















Android Studio error "Installed Build Tools revision Asked 4 months ago. Active 2 days ago. Viewed k times. I created a new project and haven't added anything to the starter code and whenever I click build or run , I get this error: Installed Build Tools revision Eklavya Figured it out, uncheck "Show Package Details" and then you can select a lower version.

If you're not building for android 12 and you probably aren't yet , you can uncheck " After that, go into the build. So the real problem is Use the latest Android Studio Beta, it will solve this issue.

Also, if you're still here OP, please don't flag a workaround as correct answer, but rather the actual solution. Show 3 more comments. Active Oldest Votes. The main problem is the two files missing in SDK build tool 31 that are: dx. The steps are below. This is a Windows batch file. Turn on hidden items to see the AppData folder. Aaron 2 2 gold badges 11 11 silver badges 22 22 bronze badges. Dug too deep to find an answer that doesn't require me to downgrade the API level.

Instead of copying these files, I've created symlinks. It's still a workaround though, but the cleanest one. Worked for me. This should be the accepted answer. Show 22 more comments. The same problem was encountered and solved with a few line changes. Click and choose sync [to version 30]. Android Studio will automatically download BuildTool V30 and change project settings. Now run the app. It works for me. Peter Mortensen Jack Wang Jack Wang 1, 1 1 gold badge 7 7 silver badges 3 3 bronze badges.

If we are downgrading the build tools, it will work accepted but will not work with Your answer is fine as a workaround. But it does not solve the actual problem if you have to work with SDK31 and build tools In build tools The latest working build tools version was To solve the problem in build tools However, even this is nothing more than a workaround. But at least this lets you work with build tools CyberShark That makes sense.

If you work with other developers who all have to build the same project, then all of them need a working environment. So if you made a hack by copying the files "dx. At the end, it's Google who should fix it in the next build tools version. This does not answer the question, it only provides a probably unacceptable tradeoff. Look at the highest voted answer for the working solution.

Show 1 more comment. Andrey Alekseenko Andrey Alekseenko 1 1 silver badge 3 3 bronze badges. That is the solution, another answer is only to patch not an actual solution of the problem. Thank you very much for sharing. Turn's out I did not set-up the proxy correctly. Thanks for the tip. Any help? I am not sure if I am missing something. I found the problem and fixed it This is in Windows. What version of PowerShell do you have? Are you using some kind of special characters in the proxy name?

Anything outside a-z A-Z or ? Are you sure you are running this with PowerShell and not Command Prompt? Had thesame issue from Nigeria. I think the issue maybe from my network provider. You may need to restart your command prompt window for the changes to take effect. This is a staging site used for development and stuff.. Hello, everyone, I am facing an issue like below when run flutter pub get.

This is taking an unexpectedly long time. Skip to content. Star New issue. Upgrading the Platform Tools to A download icon should appear in the left column. This section describes known issues that exist in the latest stable version of the Android Gradle plugin. Android Gradle Plugin 7.

Projects that use KMM support will require updating to Kotlin 1. We recommend the update, but if you cannot update to KMM plugin 1. For more information, see KT As a workaround, the lint task can be run on those libraries.

JAR signing v1 scheme does not support file names containing carriage return characters issue Android Gradle Plugin 3. Later versions of the plugin may introduce new public APIs that replace broken functionalities.

Using the Variant API to manipulate variant outputs is broken with the new plugin. However, more complicated tasks that involve accessing outputFile objects no longer work. That's because variant-specific tasks are no longer created during the configuration stage. This results in the plugin not knowing all of its outputs up front, but it also means faster configuration times. The processManifest. Could not get unknown property 'manifestOutputFile' for task ':myapp:processDebugManifest' of type com.

Instead of calling manifestOutputFile to get the manifest file for each variant, you can call processManifest. You can then locate a manifest and apply your logic to it.

The sample below dynamically changes the version code in the manifest:. This section describes known issues that have been fixed in a recent release. If you are experiencing any of these issues, you should update Android Studio to the latest stable or preview version.

On Android Studio 3. Scanning a large number of directories and files may lead to out of memory errors. For more information on this issue, read the bug associated with the issue. Content and code samples on this page are subject to the licenses described in the Content License.

Android Studio. Download What's new User guide Preview. Meet Android Studio. Manage your project. Write your app. Build and run your app. Run apps on the emulator. Run apps on a hardware device. Configure your build. Optimize your build speed.

Debug your app. Test your app. Profile your app. Android Studio profilers. Profile CPU activity. Benchmark your app. Measure performance. Publish your app. Command line tools.

Android Developers. Android Gradle Plugin. Known Issues with Android Studio This section describes known issues that exist in the latest stable version of Android Studio. Error when using different passwords for key and keystore Starting with version 4. Studio doesn't start after upgrade If Studio doesn't start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version of Android Studio or an incompatible plugin.

For Android Studio 4. Compilation issue in Kotlin multiplatform projects Compilation errors may arise in Kotlin MPP code due to missing symbols. Near the top of the window, click Revert. Click OK. You should now see the missing buttons in the toolbar. Select Use custom font. Increase the font size. Code editing This section describes known issues related to the code editor.

Frozen keyboard input - "iBus" problems on Linux There are some known interactions between the iBus daemon on Linux and Android Studio.



0コメント

  • 1000 / 1000