Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Quick start for developers could be updated #37

Open
benryder1988 opened this issue Jul 22, 2021 · 2 comments
Open

Quick start for developers could be updated #37

benryder1988 opened this issue Jul 22, 2021 · 2 comments

Comments

@benryder1988
Copy link

benryder1988 commented Jul 22, 2021

I just did a clean install of Android Studio, and encountered the following three issues that had to be resolved before the app would compile and launch:

  1. Warning messages:
    [XmlResourcesTransformer] No mapping for: android/support/FILE_PROVIDER_PATHS
    Failed to find Build Tools revision 29.0.2

Steps to fix were:

  • Open Settings > Appearance & Behaviour > System Settings > Android SDK > SDK Tools
  • Click on Show Package Details
  • Go to Android SDK Build Tools, select version 29.0.2 and click apply, then finish
  1. Warning message:
    Failed to find Platform SDK with path: platforms;android-28

Steps to fix were:

  • Open Settings > Appearance & Behaviour > System Settings > Android SDK > SDK Platforms
  • Click on Show Package Details
  • Go to Android 9.0 (Pie), select Android SDK Platform 28 and click apply, then finish
  1. Warning message:
    Missing NDK version 21.0.6113669

Steps to fix were:

  • Open Settings > Appearance & Behaviour > System Settings > Android SDK > SDK Tools
  • Click on Show Package Details
  • Go to NDK (Side by side), select 21.0.6113669 and click apply, then finish

These three steps could be combined into the following instructions for the quick start documentation:

  • Open Settings > Appearance & Behaviour > System Settings > Android SDK
  • Click on Show Package Details
  • Go to SDK Tools > Android SDK Build Tools, and select version 29.0.2
  • Go to SDK Tools > NDK (Side by side), and select 21.0.6113669
  • Go to SDK Platforms > Android 9.0 (Pie), and select Android SDK Platform 28
  • Click apply, then finish
@domdomegg
Copy link
Member

Hi @benryder1988, thanks for raising this issue - would you be able to create a PR against this repo that I can review?

@San-4000
Copy link
Contributor

San-4000 commented Jul 29, 2022

Hi, I also faced similar issues while setting up, I followed steps in here. But I am still facing an issue when I run gradlew :app:installBetaDebug:

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:kaptBetaDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

Not sure what the issue is, but I am having jdk 11 in android studio.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants