Fixed
Status Update
Comments
an...@jetbrains.com <an...@jetbrains.com>
ar...@google.com <ar...@google.com>
pe...@google.com <pe...@google.com>
du...@google.com <du...@google.com> #2
[Comment deleted]
an...@jetbrains.com <an...@jetbrains.com> #3
[Comment deleted]
du...@google.com <du...@google.com> #4
Also of note is the adb error when trying to install bad APK: INSTALL_FAILED_DEXOPT
du...@google.com <du...@google.com> #5
load dex files over 5Gb. -> load dex files over 5Mb.
an...@google.com <an...@google.com> #6
Same here! Looking forward to a solution :)
Android Studio version: 0.8.12
buildToolsVersion 21.0.1
Gradle 1.11
Android Studio version: 0.8.12
buildToolsVersion 21.0.1
Gradle 1.11
Description
Android Plugin 4.0, 4.1 in 2020.2, 2020.3, 2021.1. Earlier versions also affected.
Reported here:https://youtrack.jetbrains.com/issue/IDEA-244008 . See also IDEA-198719 and all its duplicates for different scenarios.
Steps
zip
file to the projectExpected
ZIP file is opened
Actual
Android plugin intercepts the open action, tries to open zip file and fails with the exception
Pre-discussed with @Yuriy Solodkyy. On one hand, there is no clean way to identify that Android SDK is not configured (because there are no dependencies
android.apkanalyzer>android.core
, and introducing them does not look right, so classesIdeSdks
andAndroidSdks
are not available in theApkEditorProvider
). On the other hand,ApkViewPanel
should not even try to invokeProjectSystemUtil.getProjectSystem(myProject)
for non-android project.It would also be nice if SDK management was moved out of
android.core
, so other IDEs (like Rider) could use it easily. At JB we have team capacity to implement this.