Open Hi99simon opened 2 years ago
Drop a screenshot of your project build.gradle && app build.gradle
And please note , if you follow the example on the Dev branch exactly as it is, you won't have issues. This plugin was built for a particular purpose in mind and a specific feature on Deepar SDK (hair segmentation).
Drop a screenshot of your gradle-wrapper.properties
Yes, I use the same example project in CameraDeepAR project (dev branch), and upgrade from 3.5.0 to 4.1.0 gradle version, since other plugins require higher gradle version.
And if you run it, it says that "Direct local .aar file dependencies are not supported when building an AAR."
Do you have any solutions? (I can run in 3.5.0 gradle version, but many plugins require higher project gradle version otherwise will crash)
THANKS SO MUCH!
And after running, errors like this shown. Can you replicate this error?
Hi, if you do want to use this plugin set the following:
Your project build.gradle classpath :
classpath 'com.android.tools.build:gradle:3.5.0'
set your app.gradle to:
compileSdkVersion 29 minSdkVersion 21 targetSdkVersion 29
set your gradle/wrapper/gradle-wrapper.properties to: distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
Switch from classpath 'com.android.tools.build:gradle:3.5.0' to classpath 'com.android.tools.build:gradle:4.1.0'
It caused "Direct local .aar file dependencies are not supported when building an AAR" error.
Any updates?