ZeroNetX / zeronet_mobile

ZeroNet Mobile is an Native Client for Mobile Devices running Android.
GNU General Public License v3.0
75 stars 12 forks source link

Error at build: com.android.dynamic-feature must be applied to project arm64_python #17

Closed marek22k closed 2 years ago

marek22k commented 2 years ago
$ flutter build apk --no-shrink
The plugin `flutter_webview_plugin` uses a deprecated version of the Android
embedding.
To avoid unexpected runtime failures, or future build failures, try to see if
this plugin supports the Android V2 embedding. Otherwise, consider removing it
since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to
the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':arm64_python'.
> com.android.dynamic-feature must be applied to project arm64_python

* 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

BUILD FAILED in 2m 1s
Running Gradle task 'assembleRelease'...                          121.7s
Gradle task assembleRelease failed with exit code 1
canewsin commented 2 years ago

on master branch ?

canewsin commented 2 years ago

https://github.com/canewsin/arm64_python/blob/9424f0939f957bbf76c9b793649ec8930ba43786/build.gradle#L1

It's already applied on master branch

marek22k commented 2 years ago

I followed the instructions in the README and got the repo using git clone https://github.com/canewsin/zeronet_mobile.git.

canewsin commented 2 years ago

Fixed in https://github.com/ZeroNetX/zeronet_mobile/commit/e8ad42fda429dbfeee561e9fc68602d4ffc0dbb1