Can any one help me to solve this issue.Digi also recommends you lower the default memory setting for Gradle (org. It's available as a batch file for Windows ( gradlew.bat) and a shell script for Linux and Mac ( gradlew.sh ), and it's accessible from the root of each project you create with Android Studio. Run with -info or -debug option to get more log output. After upgrading to Ubuntu 20.04, I am now on Java 11.0.9.1 and Gradle 4.4.1 (the latter being over two years old and long superseded by the time 20.04 was released). Enter the absolute path of your installed JDK in the text box. You can execute all the build tasks available to your Android project using the Gradle wrapper command line tool. Run with -stacktrace option to get the stack trace. gradlw assemble Debug using this cmd.Ī problem occurred configuring project ':app'.Ĭould not resolve all dependencies for configuration ':app:_debugCompile'.Ĭould not find :design:23.1.1.Ĭould not find :appcompat-v7:23.1.1.Ĭould not find :recyclerview-v7:23.1.1.Ĭould not find :play-services-base:8.4.0.Ĭould not find :play-services-plus:8.4.0.Ĭould not find :play-services-auth:8.4.0.Ĭould not find :support-v13:23.1.1.Ĭould not find :play-services-appindexing:8.4.0.Ĭould not find :play-services-gcm:8.4.0.Ĭould not find any matches for :support-v4:[22,23) as no versions of :support-v4 are available.Īndroid:app:unspecified > :facebook-android-sdk:4.6.0 My main task is to generate apk file with out launching android studio.Here I'm trying to generate apk file from ubuntu terminal using gradle build. Android Studio less than Arctic Fox (2020.3.1) and Gradle less than v6.0: Open up your project-level adle file, and add the code below to declare.A custom image that includes JRE, Gradle 6.5 or later, Android SDK (the same version. This is My Build.Gradle file of my project. Build and publish the app using Gradle and Gradle Play Publisher.ProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'Ĭompile ':appcompat-v7:23.1.1'Ĭompile ':spring-android-rest-template:2.0.0.M3'Ĭompile ':jackson-databind:2.4.2'Ĭompile ':javax.annotation:4.0-b33'Ĭompile fileTree(dir: 'libs', include: )Ĭompile ':design:23.1.1'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |