Computer: Mac M3 Pro
OS: macOS Sequoia 15.5
Xcode version: 16.3
Solar2D build: 3722
I’m developing a Solar2D native plugin for Android. The project right now is just the included project template with an AppCompatActivity activity added. The theme of the new activity is set to Theme.AppCompat. I’m able to build the plugin successfully, but when I attempt to build the APK, I get the following error:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:App:processReleaseResources’.
A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
Android resource linking failed
ERROR: <root_path>/.gradle/caches/8.10.2/transforms/2d730aa5ad0fc2f4d14fe6dd52550bc4/transformed/jetified-plugin-release/AndroidManifest.xml:9:9-12:54: AAPT: error: resource style/Theme.AppCompat (aka com.coronalabs.PluginTest:style/Theme.AppCompat) not found.
Why is the build failing? Does Solar2D not support the Theme.AppCompat theme? If not, is there an alternative I can use for adding activities with views?