[Bug]: Android Studio requires "Sync Project with Gradle Files" after opening #7971
Open
1 of 3 tasks
Labels
needs reply
needs reply from the user
needs reproduction
needs reproducible example to illustrate the issue
Capacitor Version
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 7.2.0
@capacitor/core: 7.2.0
@capacitor/android: 7.2.0
@capacitor/ios: 7.2.0
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 7.2.0
@capacitor/android: 7.2.0
@capacitor/core: 7.2.0
[success] Android looking great! 👌
Other API Details
Platforms Affected
Current Behavior
After upgrading to Capacitor 7.2 and Android Studio Meerkat | 2024.3.1 Patch 1 (targeting SDK 35) I'm seeing "IDE error occurred" when opening the Capacitor project in Android Studio (via "npx cap open android") and trying to build an APK.
This prevents building the app, but after doing ""Sync Project with Gradle Files" from the file menu everything mysteriously works.
Following is the output from the first attempt to build the APK.
Expected Behavior
Android Studio should be ready to build the APK after opening via "npx cap open android"
Project Reproduction
I suspect any android project will exhibit this problem
Additional Information
No response
The text was updated successfully, but these errors were encountered: