gradle 7.0写transform报错 ,求大神指点。 An exception occurred applying plugin request [id: 'scan-privacyapi'] > Failed to apply plugin 'scan-privacyapi'. > Could not find method onVariants() for arguments [com.zhx.plugin.privacy.PrivacyApiPlugin$_apply_closure1@25be3b51] on extension 'androidComponents' of type com.android.build.gradle.internal.plugins.AppPlugin$ApplicationAndroidComponentsExtensionImplCompat.
M1处理的MAC电脑 无法使用Android studio的git功能 ,但在命令行用git是正常的 ,下载的studio也是ARM架构的,有大神指导原因吗? 报错如下 : Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58) Caused by: java.net.SocketException: Unexpected end of file from server at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:866) at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) 。。。。。。。 at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:27) ... 1 more error: unable to read askpass response from '/Users/xxxx/Library/Caches/Google/AndroidStudio2021.1/tmp/intellij-git-askpass-local.sh' fatal: could not read Username for 'xxx.xxxx.com': Device not configured
学习react-navigation,但是一直报异常什么原因?? 哪个大神知道?? error: bundling failed: Error: Unable to resolve module `react-navigation` from `App.js`: react-navigation could not be found within the project or in these directories: ../../node_modules