android-kotlin-fundamentals-starter-apps | android-kotlin-fundamentals-starter-apps | Learning library
kandi X-RAY | android-kotlin-fundamentals-starter-apps Summary
kandi X-RAY | android-kotlin-fundamentals-starter-apps Summary
android-kotlin-fundamentals-starter-apps
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of android-kotlin-fundamentals-starter-apps
android-kotlin-fundamentals-starter-apps Key Features
android-kotlin-fundamentals-starter-apps Examples and Code Snippets
Community Discussions
Trending Discussions on android-kotlin-fundamentals-starter-apps
QUESTION
I have been following the codelabs for the Android Kotlin Fundamentals and I've been stuck for a while on this problem. As a part of this codelab, I had to build upon an Android Trivia App. The problem with this particular task is to share the point scored through an implicit intent. And the intent of this task is to introduce Safe Args, a plugin to pass data between fragments.
The problem is whenever I add the code for the plugin dependency, the Gradle Sync fails and Android Studio return an invalid type code error. I went through the logs but still can't figure out why this is happening!
Project Level build.gradle file
...ANSWER
Answered 2020-Sep-02 at 17:25You're using the wrong classpath
. Instead of android.arch.navigation:navigation-safe-args-gradle-plugin
, you need to use androidx.navigation:navigation-safe-args-gradle-plugin
- note the androidx.navigation
prefix as per the Adding Safe Args dependency documentation:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install android-kotlin-fundamentals-starter-apps
[Install Android Studio](https://developer.android.com/studio/install.html), if you don’t already have it. (If you are just starting the course, you will be guided through this process.)
Download the starter sample for the codelab.
Open the sample into Android Studio.
Build and run the sample. You may need to update gradle and library versions. Follow the guidance provided by Android Studio.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page