Android Studio Mini-tutorial

Discussion in 'Technical Discussion' started by Andy, Dec 12, 2017.

  1. Bilz636

    Bilz636 Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    296
    Likes Received:
    166
    i am these errors in android studio. Anyone can help me out? Also admob ads are not showing. i checked everything from ad unit to Buildbox setting (also no extra spaces). I also tried Testing Ads unit by google but i am still not getting any single ad.

    ERROR: The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.

    WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
    It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
    Affected Modules:
     
  2. Josh (Nology Games)

    Josh (Nology Games) Head Moderator Staff Member

    Joined:
    Nov 27, 2017
    Messages:
    411
    Likes Received:
    127
  3. APP-STOLZ

    APP-STOLZ Boxer

    Joined:
    May 9, 2019
    Messages:
    8
    Likes Received:
    2
    Hello friend Please edit the following file in Android Studio: Build.Gradle (MODULE: APP)
    Replace all * COMPILE * In * implementation *
    If you see * TestCompile * Replace it with * TestImplementation * Pay attention to the fact that i am written in bulk, with others * compile * Is it important that you * implementation * i write small, i hope you can understand it and it works for you

    Example:
    "NOT CORRECT"
    dependencies {
    compile 'com.google.android.gms: play-services: +'
    compile 'com.android.support:multidex:1.0.3'
    compile fileTree (dir: 'libs', include: ['* .jar'])
    // More deps here //
    }

    "RIGHT"

    dependencies {
    implementation 'com.google.android.gms: play-services: +'
    implementation 'com.android.support:multidex:1.0.3'
    implementation fileTree (dir: 'libs', include: ['* .jar'])
    }
     
    Bilz636 likes this.
  4. Akhele

    Akhele Boxer

    Joined:
    Dec 9, 2017
    Messages:
    11
    Likes Received:
    2
    6) OPEN a new project (do not IMPORT). Select the android directory inside the export. Wait a minute or two for the project to sync. If you get any errors click on the link to install additional packages. I was prompted to install “Build Tools 26.0.2” as an example.


    can you please explain what should I do next after creating a new project in android studio to use the one that I've exported from Buildbox 2 )

    I've tried to import the project but it doesn't work ( so many errors)
    is there any video or tutorial that explains how can use my game in my phone using android studio
     

Share This Page