Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 4.1 ANDROID_AAPT_IGNORE

When I switch to Android Studio 4.1 with this changes https://github.com/MikeOrtiz/TouchImageView/pull/267/files

classpath 'com.android.tools.build:gradle:4.1.0-alpha10'

I run into https://github.com/MikeOrtiz/TouchImageView/pull/267/checks?check_run_id=737327676

> Could not resolve all dependencies for configuration ':app:releaseRuntimeClasspath'.
   > Could not create task ':app:extractDeepLinksDebug'.
      > Cannot obtain value from provider of environment variable 'ANDROID_AAPT_IGNORE' at configuration time.
        Use a provider returned by 'forUseAtConfigurationTime()' instead.

Maybe someone has an idea how to get rid of it ?

like image 805
hannes ach Avatar asked Jun 04 '20 06:06

hannes ach


People also ask

What is the latest version of Android gradle?

0 (May 2022) Android Gradle plugin 7.2. 0 is a major release that includes a variety of new features and improvements.

Which version of Android Studio is best?

Android Studio 3.2 is the best way for app developers to cut into the latest Android 9 Pie release and build the new Android App bundle.


2 Answers

Same issue for me. It seems like Gradle issue (maybe should open a bug report)

I am able to temporary solve it by downgrade Gradle version to 6.5-milestone-1

like image 87
EAK TEAM Avatar answered Oct 16 '22 16:10

EAK TEAM


I opened a Google issue for this

According to info in https://issuetracker.google.com/issues/157583088 If this the same issue it should be fixed in AGP 4.1 beta 1, which is tentatively scheduled to be released Wednesday June 10th at 10am Pacific Time.

like image 27
hannes ach Avatar answered Oct 16 '22 15:10

hannes ach