标签: iosched

构建失败的Google io 2018(iosched)

下载Google IO 2018项目(iosched),尝试在Android Studio 3.3 Canary 7中编译它,也在3.2 RC1中进行探测.但是我收到以下错误:

error: resource style/TextAppearance.MaterialComponents.BottomNavigationView.Colored (aka com.google.samples.apps.iosched:style/TextAppearance.MaterialComponents.BottomNavigationView.Colored) not found.
Run Code Online (Sandbox Code Playgroud)

检查文件样式.xml,据观察未能找到样式TextAppearance.MaterialComponents.BottomNavigationView.Colored.

<style name="TextAppearance.IOSched.BottomNavigationView" parent="@style/TextAppearance.MaterialComponents.BottomNavigationView.Colored">
        <item name="android:fontFamily">@font/google_sans</item>
        <item name="android:textColor">@color/bottom_nav_item</item>
</style>
Run Code Online (Sandbox Code Playgroud)

如果已实施,还要检查Google Material components依赖项.

implementation "com.google.android.material:material:$rootProject.materialVersion"
Run Code Online (Sandbox Code Playgroud)

我无法理解为什么会犯这个错误.

android gradle googleio iosched

8
推荐指数
1
解决办法
1573
查看次数

在根项目中找不到Android Studio 0.8任务组合

我试图在android studio 0.8上的ubuntu 14.04上构建iosched应​​用程序.导入setting.gradle文件并按照构建指令后,我收到错误消息

Error

    :FAILURE: Build failed with an exception.

    * What went wrong:
    Task 'assemble' not found in root project 'iosched'.

    * Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Run Code Online (Sandbox Code Playgroud)

这篇文章中提到的解决方案也不起作用.

android open-source iosched android-studio

2
推荐指数
1
解决办法
9234
查看次数