Generate Android APK compileReleaseJavaWithJavac errorgradle 2.0.0 not uploading apk to my mobileCould not resolve all dependencies for ':react-native-twilio-video-webrtc:_debugPublishCopy'. > com.android.support:support-annotationsReact-native project Build failed: Could not find com.android.tools.lint:lint-gradle:26.1.0React-native Android : unable to generate signed APK : “no such scale”Release apk has closed immediately when open in android devices (Recat -native)React Native : Could not find com.android.tools.build:gradle:2.2.3Issue in react-native-pdf library gradle buildReact Native : Task :react-native-maps:compileDebugRenderscript FAILED

Is it right to use the ideas of non-winning designers in a design contest?

What is the purpose of the rotating plate in front of the lock?

Pronounceable encrypted text

How do I delete cookies from a specific site?

What drugs were used in England during the High Middle Ages?

Dissuading my girlfriend from a scam

Examples where "thin + thin = nice and thick"

extract specific cheracters from each line

How do I anonymously report the Establishment Clause being broken?

Remaining in the US beyond VWP admission period

What does it mean to count a group of numbers with their multiplicity?

How to reproduce this notation?

Are language and thought the same?

How do I use NEC PC-6001 .p6 or .cas files?

Why does 8 bit truecolor use only 2 bits for blue?

Why are UK MPs allowed to not vote (but it counts as a no)?

Is Sanskrit really the mother of all languages?

Male viewpoint in an erotic novel

If I have an accident, should I file a claim with my car insurance company?

Matlab fmincon for a problem with many nonlinear constraints

Is there some sort of French saying for "a person's signature move"?

What are the map units that WGS84 uses?

Notation: grace note played on the beat with a chord

How could a planet have one hemisphere way warmer than the other without the planet being tidally locked?



Generate Android APK compileReleaseJavaWithJavac error


gradle 2.0.0 not uploading apk to my mobileCould not resolve all dependencies for ':react-native-twilio-video-webrtc:_debugPublishCopy'. > com.android.support:support-annotationsReact-native project Build failed: Could not find com.android.tools.lint:lint-gradle:26.1.0React-native Android : unable to generate signed APK : “no such scale”Release apk has closed immediately when open in android devices (Recat -native)React Native : Could not find com.android.tools.build:gradle:2.2.3Issue in react-native-pdf library gradle buildReact Native : Task :react-native-maps:compileDebugRenderscript FAILED






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















i am developing react native app.using google plugin project run on expo properly. when generating Android APK show error in google plugin.Example (react-native-google-placesandroidsrcmainjavacomarttitude360reactnativerngoogleplacesRNGooglePlacesModule.java:49: error: RNGooglePlacesModule is not abstract and does not override abstract method onActivityResult(int,int,Intent) in ActivityEventListener).
Please help. Thanks in advance



Android/App/build.gradle:

apply plugin: "com.android.application"

import com.android.build.OutputFile

project.ext.react = [
entryFile: "index.js"
]

apply from: "../../node_modules/react-native/react.gradle"

/**
* Set this to true to create two separate APKs instead of one:
* - An APK that only works on ARM devices
* - An APK that only works on x86 devices
* The advantage is the size of the APK is reduced by about 4MB.
* Upload all the APKs to the Play Store and people will download
* the correct one based on the CPU architecture of their device.
*/
def enableSeparateBuildPerCPUArchitecture = false

/**
* Run Proguard to shrink the Java bytecode in release builds.
*/
def enableProguardInReleaseBuilds = false

android
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig
applicationId "com.projectphoto"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"



compileOptions
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

signingConfigs
release
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE'))
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD



splits
abi
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86", "arm64-v8a"


buildscript
repositories
jcenter()
maven
url 'https://maven.google.com/'
name 'Google'

google()


dependencies
classpath 'com.android.tools.build:gradle:3.1.4' //should be 3.1.3 after the tutorial.
classpath 'com.android.support:support-media-compat:25.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files


buildTypes
release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release


// applicationVariants are e.g. debug, release
applicationVariants.all variant ->
variant.outputs.each output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





dependencies
compile project(':react-native-camera-kit')
compile project(':react-native-camera')
compile project(':react-native-vector-icons')
compile project(':react-native-maps')
compile project(':react-native-google-places')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
implementation "com.facebook.react:react-native:+" // From node_modules
implementation("com.google.android.gms:play-services-maps:16.0.0")
implementation("com.google.android.gms:play-services-tasks:16.0.1")
implementation("com.google.android.gms:play-services-basement:16.0.1")
implementation("com.android.support:support-v4:26.1.0")
implementation("com.android.support:support-media-compat:26.1.0")


// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy)
from configurations.compile
into 'libs'


Android/build.gradle

buildscript
ext
buildToolsVersion = "28.0.2"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 27
supportLibVersion = "28.0.0"

repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
mavenLocal()
google()
jcenter()
maven
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"







task wrapper(type: Wrapper)
gradleVersion = '4.7'
distributionUrl = distributionUrl.replace("bin", "all")
`enter code here`









share|improve this question






























    0















    i am developing react native app.using google plugin project run on expo properly. when generating Android APK show error in google plugin.Example (react-native-google-placesandroidsrcmainjavacomarttitude360reactnativerngoogleplacesRNGooglePlacesModule.java:49: error: RNGooglePlacesModule is not abstract and does not override abstract method onActivityResult(int,int,Intent) in ActivityEventListener).
    Please help. Thanks in advance



    Android/App/build.gradle:

    apply plugin: "com.android.application"

    import com.android.build.OutputFile

    project.ext.react = [
    entryFile: "index.js"
    ]

    apply from: "../../node_modules/react-native/react.gradle"

    /**
    * Set this to true to create two separate APKs instead of one:
    * - An APK that only works on ARM devices
    * - An APK that only works on x86 devices
    * The advantage is the size of the APK is reduced by about 4MB.
    * Upload all the APKs to the Play Store and people will download
    * the correct one based on the CPU architecture of their device.
    */
    def enableSeparateBuildPerCPUArchitecture = false

    /**
    * Run Proguard to shrink the Java bytecode in release builds.
    */
    def enableProguardInReleaseBuilds = false

    android
    compileSdkVersion rootProject.ext.compileSdkVersion
    buildToolsVersion rootProject.ext.buildToolsVersion

    defaultConfig
    applicationId "com.projectphoto"
    minSdkVersion rootProject.ext.minSdkVersion
    targetSdkVersion rootProject.ext.targetSdkVersion
    versionCode 1
    versionName "1.0"



    compileOptions
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8

    signingConfigs
    release
    if (project.hasProperty('MYAPP_RELEASE_STORE_FILE'))
    storeFile file(MYAPP_RELEASE_STORE_FILE)
    storePassword MYAPP_RELEASE_STORE_PASSWORD
    keyAlias MYAPP_RELEASE_KEY_ALIAS
    keyPassword MYAPP_RELEASE_KEY_PASSWORD



    splits
    abi
    reset()
    enable enableSeparateBuildPerCPUArchitecture
    universalApk false // If true, also generate a universal APK
    include "armeabi-v7a", "x86", "arm64-v8a"


    buildscript
    repositories
    jcenter()
    maven
    url 'https://maven.google.com/'
    name 'Google'

    google()


    dependencies
    classpath 'com.android.tools.build:gradle:3.1.4' //should be 3.1.3 after the tutorial.
    classpath 'com.android.support:support-media-compat:25.2.0'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files


    buildTypes
    release
    minifyEnabled enableProguardInReleaseBuilds
    proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
    signingConfig signingConfigs.release


    // applicationVariants are e.g. debug, release
    applicationVariants.all variant ->
    variant.outputs.each output ->
    // For each separate APK per architecture, set a unique version code as described here:
    // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
    def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3]
    def abi = output.getFilter(OutputFile.ABI)
    if (abi != null) // null for the universal-debug, universal-release variants
    output.versionCodeOverride =
    versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





    dependencies
    compile project(':react-native-camera-kit')
    compile project(':react-native-camera')
    compile project(':react-native-vector-icons')
    compile project(':react-native-maps')
    compile project(':react-native-google-places')
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
    implementation "com.facebook.react:react-native:+" // From node_modules
    implementation("com.google.android.gms:play-services-maps:16.0.0")
    implementation("com.google.android.gms:play-services-tasks:16.0.1")
    implementation("com.google.android.gms:play-services-basement:16.0.1")
    implementation("com.android.support:support-v4:26.1.0")
    implementation("com.android.support:support-media-compat:26.1.0")


    // Run this once to be able to run the application with BUCK
    // puts all compile dependencies into folder libs for BUCK to use
    task copyDownloadableDepsToLibs(type: Copy)
    from configurations.compile
    into 'libs'


    Android/build.gradle

    buildscript
    ext
    buildToolsVersion = "28.0.2"
    minSdkVersion = 16
    compileSdkVersion = 28
    targetSdkVersion = 27
    supportLibVersion = "28.0.0"

    repositories
    google()
    jcenter()

    dependencies
    classpath 'com.android.tools.build:gradle:3.2.1'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files



    allprojects
    repositories
    mavenLocal()
    google()
    jcenter()
    maven
    // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
    url "$rootDir/../node_modules/react-native/android"







    task wrapper(type: Wrapper)
    gradleVersion = '4.7'
    distributionUrl = distributionUrl.replace("bin", "all")
    `enter code here`









    share|improve this question


























      0












      0








      0








      i am developing react native app.using google plugin project run on expo properly. when generating Android APK show error in google plugin.Example (react-native-google-placesandroidsrcmainjavacomarttitude360reactnativerngoogleplacesRNGooglePlacesModule.java:49: error: RNGooglePlacesModule is not abstract and does not override abstract method onActivityResult(int,int,Intent) in ActivityEventListener).
      Please help. Thanks in advance



      Android/App/build.gradle:

      apply plugin: "com.android.application"

      import com.android.build.OutputFile

      project.ext.react = [
      entryFile: "index.js"
      ]

      apply from: "../../node_modules/react-native/react.gradle"

      /**
      * Set this to true to create two separate APKs instead of one:
      * - An APK that only works on ARM devices
      * - An APK that only works on x86 devices
      * The advantage is the size of the APK is reduced by about 4MB.
      * Upload all the APKs to the Play Store and people will download
      * the correct one based on the CPU architecture of their device.
      */
      def enableSeparateBuildPerCPUArchitecture = false

      /**
      * Run Proguard to shrink the Java bytecode in release builds.
      */
      def enableProguardInReleaseBuilds = false

      android
      compileSdkVersion rootProject.ext.compileSdkVersion
      buildToolsVersion rootProject.ext.buildToolsVersion

      defaultConfig
      applicationId "com.projectphoto"
      minSdkVersion rootProject.ext.minSdkVersion
      targetSdkVersion rootProject.ext.targetSdkVersion
      versionCode 1
      versionName "1.0"



      compileOptions
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8

      signingConfigs
      release
      if (project.hasProperty('MYAPP_RELEASE_STORE_FILE'))
      storeFile file(MYAPP_RELEASE_STORE_FILE)
      storePassword MYAPP_RELEASE_STORE_PASSWORD
      keyAlias MYAPP_RELEASE_KEY_ALIAS
      keyPassword MYAPP_RELEASE_KEY_PASSWORD



      splits
      abi
      reset()
      enable enableSeparateBuildPerCPUArchitecture
      universalApk false // If true, also generate a universal APK
      include "armeabi-v7a", "x86", "arm64-v8a"


      buildscript
      repositories
      jcenter()
      maven
      url 'https://maven.google.com/'
      name 'Google'

      google()


      dependencies
      classpath 'com.android.tools.build:gradle:3.1.4' //should be 3.1.3 after the tutorial.
      classpath 'com.android.support:support-media-compat:25.2.0'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files


      buildTypes
      release
      minifyEnabled enableProguardInReleaseBuilds
      proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
      signingConfig signingConfigs.release


      // applicationVariants are e.g. debug, release
      applicationVariants.all variant ->
      variant.outputs.each output ->
      // For each separate APK per architecture, set a unique version code as described here:
      // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
      def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3]
      def abi = output.getFilter(OutputFile.ABI)
      if (abi != null) // null for the universal-debug, universal-release variants
      output.versionCodeOverride =
      versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





      dependencies
      compile project(':react-native-camera-kit')
      compile project(':react-native-camera')
      compile project(':react-native-vector-icons')
      compile project(':react-native-maps')
      compile project(':react-native-google-places')
      implementation fileTree(dir: "libs", include: ["*.jar"])
      implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
      implementation "com.facebook.react:react-native:+" // From node_modules
      implementation("com.google.android.gms:play-services-maps:16.0.0")
      implementation("com.google.android.gms:play-services-tasks:16.0.1")
      implementation("com.google.android.gms:play-services-basement:16.0.1")
      implementation("com.android.support:support-v4:26.1.0")
      implementation("com.android.support:support-media-compat:26.1.0")


      // Run this once to be able to run the application with BUCK
      // puts all compile dependencies into folder libs for BUCK to use
      task copyDownloadableDepsToLibs(type: Copy)
      from configurations.compile
      into 'libs'


      Android/build.gradle

      buildscript
      ext
      buildToolsVersion = "28.0.2"
      minSdkVersion = 16
      compileSdkVersion = 28
      targetSdkVersion = 27
      supportLibVersion = "28.0.0"

      repositories
      google()
      jcenter()

      dependencies
      classpath 'com.android.tools.build:gradle:3.2.1'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files



      allprojects
      repositories
      mavenLocal()
      google()
      jcenter()
      maven
      // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
      url "$rootDir/../node_modules/react-native/android"







      task wrapper(type: Wrapper)
      gradleVersion = '4.7'
      distributionUrl = distributionUrl.replace("bin", "all")
      `enter code here`









      share|improve this question














      i am developing react native app.using google plugin project run on expo properly. when generating Android APK show error in google plugin.Example (react-native-google-placesandroidsrcmainjavacomarttitude360reactnativerngoogleplacesRNGooglePlacesModule.java:49: error: RNGooglePlacesModule is not abstract and does not override abstract method onActivityResult(int,int,Intent) in ActivityEventListener).
      Please help. Thanks in advance



      Android/App/build.gradle:

      apply plugin: "com.android.application"

      import com.android.build.OutputFile

      project.ext.react = [
      entryFile: "index.js"
      ]

      apply from: "../../node_modules/react-native/react.gradle"

      /**
      * Set this to true to create two separate APKs instead of one:
      * - An APK that only works on ARM devices
      * - An APK that only works on x86 devices
      * The advantage is the size of the APK is reduced by about 4MB.
      * Upload all the APKs to the Play Store and people will download
      * the correct one based on the CPU architecture of their device.
      */
      def enableSeparateBuildPerCPUArchitecture = false

      /**
      * Run Proguard to shrink the Java bytecode in release builds.
      */
      def enableProguardInReleaseBuilds = false

      android
      compileSdkVersion rootProject.ext.compileSdkVersion
      buildToolsVersion rootProject.ext.buildToolsVersion

      defaultConfig
      applicationId "com.projectphoto"
      minSdkVersion rootProject.ext.minSdkVersion
      targetSdkVersion rootProject.ext.targetSdkVersion
      versionCode 1
      versionName "1.0"



      compileOptions
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8

      signingConfigs
      release
      if (project.hasProperty('MYAPP_RELEASE_STORE_FILE'))
      storeFile file(MYAPP_RELEASE_STORE_FILE)
      storePassword MYAPP_RELEASE_STORE_PASSWORD
      keyAlias MYAPP_RELEASE_KEY_ALIAS
      keyPassword MYAPP_RELEASE_KEY_PASSWORD



      splits
      abi
      reset()
      enable enableSeparateBuildPerCPUArchitecture
      universalApk false // If true, also generate a universal APK
      include "armeabi-v7a", "x86", "arm64-v8a"


      buildscript
      repositories
      jcenter()
      maven
      url 'https://maven.google.com/'
      name 'Google'

      google()


      dependencies
      classpath 'com.android.tools.build:gradle:3.1.4' //should be 3.1.3 after the tutorial.
      classpath 'com.android.support:support-media-compat:25.2.0'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files


      buildTypes
      release
      minifyEnabled enableProguardInReleaseBuilds
      proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
      signingConfig signingConfigs.release


      // applicationVariants are e.g. debug, release
      applicationVariants.all variant ->
      variant.outputs.each output ->
      // For each separate APK per architecture, set a unique version code as described here:
      // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
      def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3]
      def abi = output.getFilter(OutputFile.ABI)
      if (abi != null) // null for the universal-debug, universal-release variants
      output.versionCodeOverride =
      versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





      dependencies
      compile project(':react-native-camera-kit')
      compile project(':react-native-camera')
      compile project(':react-native-vector-icons')
      compile project(':react-native-maps')
      compile project(':react-native-google-places')
      implementation fileTree(dir: "libs", include: ["*.jar"])
      implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
      implementation "com.facebook.react:react-native:+" // From node_modules
      implementation("com.google.android.gms:play-services-maps:16.0.0")
      implementation("com.google.android.gms:play-services-tasks:16.0.1")
      implementation("com.google.android.gms:play-services-basement:16.0.1")
      implementation("com.android.support:support-v4:26.1.0")
      implementation("com.android.support:support-media-compat:26.1.0")


      // Run this once to be able to run the application with BUCK
      // puts all compile dependencies into folder libs for BUCK to use
      task copyDownloadableDepsToLibs(type: Copy)
      from configurations.compile
      into 'libs'


      Android/build.gradle

      buildscript
      ext
      buildToolsVersion = "28.0.2"
      minSdkVersion = 16
      compileSdkVersion = 28
      targetSdkVersion = 27
      supportLibVersion = "28.0.0"

      repositories
      google()
      jcenter()

      dependencies
      classpath 'com.android.tools.build:gradle:3.2.1'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files



      allprojects
      repositories
      mavenLocal()
      google()
      jcenter()
      maven
      // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
      url "$rootDir/../node_modules/react-native/android"







      task wrapper(type: Wrapper)
      gradleVersion = '4.7'
      distributionUrl = distributionUrl.replace("bin", "all")
      `enter code here`






      react-native






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 4:32









      Deepak KumarDeepak Kumar

      249 bronze badges




      249 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0
















          Try Adding the Google Maven Repo in your android/build.gradle



          allprojects 
          repositories
          ...
          maven
          // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
          url "$rootDir/../node_modules/react-native/android"

          maven
          url "https://maven.google.com"





          I think you forgot to add below code in allprojects



          maven 
          url "https://maven.google.com"



          Go to the module document Here as there are some new updates related to versions.
          Try to keep the versions updated in your code.





          Notice: The Google Play Services version of the Places SDK for Android
          (in Google Play Services 16.0.0) is deprecated as of January 29, 2019,
          and will be turned off on July 29, 2019. A new version of the Places
          SDK for Android is now available.







          Hope it works !






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390211%2fgenerate-android-apk-compilereleasejavawithjavac-error%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0
















            Try Adding the Google Maven Repo in your android/build.gradle



            allprojects 
            repositories
            ...
            maven
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"

            maven
            url "https://maven.google.com"





            I think you forgot to add below code in allprojects



            maven 
            url "https://maven.google.com"



            Go to the module document Here as there are some new updates related to versions.
            Try to keep the versions updated in your code.





            Notice: The Google Play Services version of the Places SDK for Android
            (in Google Play Services 16.0.0) is deprecated as of January 29, 2019,
            and will be turned off on July 29, 2019. A new version of the Places
            SDK for Android is now available.







            Hope it works !






            share|improve this answer





























              0
















              Try Adding the Google Maven Repo in your android/build.gradle



              allprojects 
              repositories
              ...
              maven
              // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
              url "$rootDir/../node_modules/react-native/android"

              maven
              url "https://maven.google.com"





              I think you forgot to add below code in allprojects



              maven 
              url "https://maven.google.com"



              Go to the module document Here as there are some new updates related to versions.
              Try to keep the versions updated in your code.





              Notice: The Google Play Services version of the Places SDK for Android
              (in Google Play Services 16.0.0) is deprecated as of January 29, 2019,
              and will be turned off on July 29, 2019. A new version of the Places
              SDK for Android is now available.







              Hope it works !






              share|improve this answer



























                0














                0










                0









                Try Adding the Google Maven Repo in your android/build.gradle



                allprojects 
                repositories
                ...
                maven
                // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
                url "$rootDir/../node_modules/react-native/android"

                maven
                url "https://maven.google.com"





                I think you forgot to add below code in allprojects



                maven 
                url "https://maven.google.com"



                Go to the module document Here as there are some new updates related to versions.
                Try to keep the versions updated in your code.





                Notice: The Google Play Services version of the Places SDK for Android
                (in Google Play Services 16.0.0) is deprecated as of January 29, 2019,
                and will be turned off on July 29, 2019. A new version of the Places
                SDK for Android is now available.







                Hope it works !






                share|improve this answer













                Try Adding the Google Maven Repo in your android/build.gradle



                allprojects 
                repositories
                ...
                maven
                // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
                url "$rootDir/../node_modules/react-native/android"

                maven
                url "https://maven.google.com"





                I think you forgot to add below code in allprojects



                maven 
                url "https://maven.google.com"



                Go to the module document Here as there are some new updates related to versions.
                Try to keep the versions updated in your code.





                Notice: The Google Play Services version of the Places SDK for Android
                (in Google Play Services 16.0.0) is deprecated as of January 29, 2019,
                and will be turned off on July 29, 2019. A new version of the Places
                SDK for Android is now available.







                Hope it works !







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 28 at 6:23









                abhinandan sharmaabhinandan sharma

                5952 silver badges7 bronze badges




                5952 silver badges7 bronze badges





















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390211%2fgenerate-android-apk-compilereleasejavawithjavac-error%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript