1. Are you ready for the Galaxy S20? Here is everything we know so far!

Trouble with Android Studio

Discussion in 'Android Development' started by Dazzycoffee, Feb 24, 2021.

  1. Dazzycoffee

    Dazzycoffee Lurker
    Thread Starter

    Here is my problem:
    C:\Fluttermed\medrxflutter>flutter run
    Launching lib\main.dart on SM N960U in debug mode...
    Checking the license for package Android SDK Platform 29 in C:\Program Files (x86)\Android\android-sdk\licenses
    License for package Android SDK Platform 29 accepted.
    Preparing "Install Android SDK Platform 29 (revision: 5)".
    Warning: Failed to read or create install properties file.

    FAILURE: Build failed with an exception.

    * What went wrong:
    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
    > Failed to install the following SDK components:
    platforms;android-29 Android SDK Platform 29
    The SDK directory is not writable (C:\Program Files (x86)\Android\android-sdk)

    I have spend hours and now my vs code will not work. I have the same problem in Android Studio.
    I have been working on this for two days.

    Need to get a MVP done!!!

    1. Download the Forums for Android™ app!



Share This Page