草庐IT

attr_internal

全部标签

android - 没有方法签名 : com. android.build.gradle.internal.core.GradleVariantConfiguration

我在使用AndroidStudio3时遇到问题。使用变体调试时运行良好。谁能帮忙?classpath'com.android.tools.build:gradle:3.0.0'classpath'com.google.gms:google-services:3.1.0'distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-all.zip引起:groovy.lang.MissingMethodException:没有方法签名:com.android.build.gradle.internal.cor

android - AppBarLayout fitsSystemWindows true attr 使 CircularIndicator 不可见

我正在使用JakeWharton的CirclePageIndicator在下面给出的我的个人资料页面中。图像容器是一个viewpager和circlepage指示器显示在它的底部。而且我需要将appbar的fitsSystemWindows属性设置为true才能使错误afaik使statusbarscrim工作。但是当使用这个attrcirclePagerIndicator消失。提前感谢您的帮助;) 最佳答案 AppBarLayoutandroid:fitsSystemWindows="true"以某种方式使它与Collapsing

android - 链接引用失败 - 在 appcompat 中找不到样式属性 '@android:attr/textColor'

我正在尝试从我们的项目中删除即将删除的选项android.enableAapt2=false。这很痛苦,但我希望我能到达那里。现在我遇到了BuildException:Failedtoprocessresources,seeaaptoutputabovefordetails。问题似乎是这样的:error:styleattribute'@android:attr/textColor'notfound.Message{kind=ERROR,text=error:styleattribute'@android:attr/textColor'notfound.,sources=[/Users/

android - 错误 :error: '' is incompatible with attribute android:background (attr) reference|color

我无法运行我的应用程序,一些属性无法识别,资源不受支持,正如应用程序构建结果所建议的那样。如何修复所有资源值?这可能是依赖关系的问题吗?androidstudio可以读取依赖和资源分配吗?它有什么关系android资源的不兼容问题这是我的xml>这是我的错误Information:Gradletasks[:app:generateReleaseSources,:app:mockableAndroidJar]C:\Users\ghjsk\AndroidStudioProjects\NavDrawer\app\src\main\res\layout\activity_add_reminde

android - react native (安卓)AAPT : error: resource android:attr/dialogCornerRadius not found

运行react-nativerun-android后我明白了JSserveralreadyrunning.Buildingandinstallingtheapponthedevice(cdandroid&&gradlew.batinstallDebug)...C:\Users\Dd\.gradle\caches\transforms-1\files-1.1\appcompat-v7-28.0.0.aar\5f8d067ae17f4050cbc3c86889ab0be8\res\values-v28\values-v28.xml:9:5-12:13:AAPT:error:resource

android - 在 com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated@5635bcd2 上找不到属性 'packageApplication'

这是我的build.gradle:https://github.com/SnowdreamFramework/android-gradle-template/blob/master/config/android.gradle当我尝试升级我的项目以使用gradle2.2.1和类路径“com.android.tools.build:gradle:1.0.0-rc1”时,然后我编译并得到如下错误:$gradlewrappers--info--stacktraceStartingBuildSettingsevaluatedusingsettingsfile'D:\workspace\snowd

android - 失败 [INSTALL_FAILED_UPDATE_INCOMPATIBLE] 后跟 DELETE_FAILED_INTERNAL_ERROR

当我尝试在nexus5设备上运行应用程序时,androidstudio打开错误窗口,显示“安装失败并显示消息INSTALL_FAILED_CONFLICTING_PROVIDER”,然后我问我是否要卸载现有应用程序,即使它不存在在设备上。此外,运行窗口显示“失败[INSTALL_FAILED_CONFLICTING_PROVIDER]”当点击确定时,我进入运行窗口:“设备外壳命令:pmuninstallcom.app.appDELETE_FAILED_INTERNAL_ERROR”谢谢你的帮助! 最佳答案 我注意到在使用Marshm

android - java.lang.NoClassDefFoundError : Failed resolution of: Lcom/google/android/gms/auth/api/signin/internal/zzz; 错误

在我的onResume()我的MainActivity方法我有这个,它应该让玩家登录GooglePlay游戏:protectedvoidonResume(){super.onResume();getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_FULLSCREEN);sign_in_player();Log.d("MainActivity","State:Resumed");}privatestaticvoidsign_in_player(){if(!is_signed_into_play_games

Android-Studio编译不过提示caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed t错

1.遇到的问题Causedby:org.gradle.api.internal.plugins.PluginApplicationException:Failedtoapplyplugin[id‘com.android.internal.application’]2.尝试方法 根据搜索在GradleScripts的gradle.properties中添加以下语句 android.overridePathCheck=true但是问题没有得到解决,搜索了很多方法不行,最后想到是不是Android-studio版本太高问题,我用的是2023.2.3版本,根据下载代码的时间降到2021.2.1版本问题

android - 与属性 android :id (attr) reference troubleshoot 不兼容

我是androidstudio软件开发的新手,当我开始构建新软件时,会发生此错误。error:'0+id/nav_home'isincompatiblewithattributeandroid:id(attr)reference.Message{kind=ERROR,text=error:'0+id/nav_home'isincompatiblewithattributeandroid:id(attr)reference.,sources=[C:\Users\Ray\AndroidStudioProjects\MyCatholic\app\src\main\res\menu\navig