Buildozer не компилируется приложение, выполняя обновление до Android 15 (API -уровень 35) для моего приложения KivyAndroid

Форум для тех, кто программирует под Android
Ответить Пред. темаСлед. тема
Anonymous
 Buildozer не компилируется приложение, выполняя обновление до Android 15 (API -уровень 35) для моего приложения Kivy

Сообщение Anonymous »

Следующая проблема, с которой я сталкиваюсь, любая помощь ценится. < /p>
STDOUT:
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

> Configure project :
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 35

This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32

This warning can be suppressed by adding
android.suppressUnsupportedCompileSdk=35
to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 35

> Task :mergeExtDexDebug
ERROR:/home/salvecom/.buildozer/android/platform/android-sdk/platforms/android-35/android.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "
" is null
ERROR:/home/salvecom/.buildozer/android/platform/android-sdk/platforms/android-35/android.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null....

> Task :mergeExtDexDebug FAILEDiles of :debugRuntimeClasspath > DexingWithClass

FAILURE: Build failed with an exception.debugRuntimeClasspath > DexingWithClass

* What went wrong:g > Resolve files of :debugRuntimeClasspath > DexingWithClass
Execution failed for task ':mergeExtDexDebug'.untimeClasspath > DexingWithClass
> Could not resolve all files for configuration ':debugRuntimeClasspath'.
> Failed to transform lottie-3.4.0.aar (com.airbnb.android:lottie:3.4.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: /home/salvecom/.gradle/caches/transforms-3/f720fe31af188145d6428cf786450626/transformed/jetified-lottie-3.4.0-runtime.jar.
> Error while dexing.
> Failed to transform appcompat-resources-1.6.1.aar (androidx.appcompat:appcompat-resources:1.6.1) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: /home/salvecom/.gradle/caches/transforms-3/d3699b808597399c6521adfe33a6623e/transformed/jetified-appcompat-resources-1.6.1-runtime.jar...

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.1/userguide ... e_warnings

BUILD FAILED in 27s
18 actionable tasks: 17 executed, 1 up-to-date

STDERR:

[INFO]: STDOUT (last 20 lines of 683):

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.1/userguide ... e_warnings

BUILD FAILED in 27s
18 actionable tasks: 17 executed, 1 up-to-date
< /code>
Окончательная часть Buildozer < /p>
Я добавил android.gradle_properties = android.suppressunsupportedcompilesdk = 35 в buildozer.spec. Я также изменил свойства build.gradle, Gradle-Wrapper.properties и Gradle.properties, но все же Buildorer не может скомпилировать приложение. Я пытаюсь обновить свое приложение Kivy, чтобы использовать API 35, чтобы я мог отправить его в GooglePlayStore. Я не хочу, чтобы мое приложение Kivy было снято из игрового магазина. Пожалуйста, помогите.


Подробнее здесь: https://stackoverflow.com/questions/796 ... -35-for-my
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Android»