this issue is because of the problems in ca-certificates-java and is found to exist in fully updated ubuntu 15.10. after a hour of googling, i found the solution in the launchpad page
i finally solved this issue with the below command:
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
in my case the problem is caused due to proxy(used by my company),then i switched to vpn it it just worked fine.
- comment or temporarily remove the content in build.gradle file/files.
- delete .project and .classpath files in the folder you're importing (if any exists).
- override workspace settings and set it to gradle wrapper
- specify gradle user home (bin folder of gradle) and java home jdk folder and click next.
- this solved my problem. if it doesn't work for you then try different options like setting
local installation directoryfor gradle and so on.
- once this works, you can put the content back to your build.gradle files and try again so that you know which line in build.gradle file causes the issue.
note: the import might fail for other reasons as well which might need a different troubleshooting. this worked for me though.
- Loading Gradle Project preview failed
- Android Studio: Failed to sync Gradle project 'Project Name'
- Importing Android Projects into Android Studio - Gradle Project Sync Failed
- Building Android project with Gradle failed
- Eclipse: import project via gradle --> failed to find target android-16
- Build Failed Evaluating root project - Gradle
- Build a project using gradle FAILURE: Build failed with an exception
- Import existing Gradle Git project into Eclipse
- Running Gradle project via Eclipse errors "system Cannot find System Java Compiler"
- How to use Gradle to generate Eclipse and Intellij project files for Android projects
- How to fix "Missing Gradle project configuration file" issue in Buildship?
- configuring existing eclipse java project to build using gradle
- Eclipse not recognizing project as Gradle Project
- Eclipse Hell . . . Failed to read the project description file (.project)
- The project may be using a version of Gradle that does not contain the method 'compileSdkVersion()'
- Error at building model of new Gradle project for libgdx
- Synchronize Gradle projects with workspace failed
- Importing gradle project to eclipse
- Gradle project in eclipse builds fine but java files show compilation error
- Eclipse Gradle Wizard creates project with SubFolder -lib
- Creating Gradle project in eclipse is stuck
- Maven and Eclipse : loading default properties in maven library project and use it in runnable Jar
- Null Pointer Importing Gradle Project Into Eclipse
- Add dependencies via gradle to eclipse in android project
- What's the gradle equivalent of having another project in your Java build path in Eclipse?
- Exporting an eclipse project as gradle
- Failed to collect dependencies in Maven project
- SDK location not found. ANDROID_HOME - building a gradle project in eclipse on a MAC
- Migrating from existing dynamic web project to gradle
- Loading Genymotion library Genymotion directory: /Applications/Genymotion.app/Contents/MacOS Trying to initialize engine Initialize Engine: failed
More Query from same tag
- Seeking useful Eclipse Java code templates
- How to import com.google.cloud.datastore in Eclipse?
- How to make a jar file out of Google Appengine Java Project
- What does //$FALL-THROUGH$ do in Eclipse?
- Parse JSON file (JAVA)
- Eclipse formatter is not strict?
- Java LWJGL in Eclipse
- Eclipse JDT API documentation, preferrably CHM format
- Eclipse MessageConsole seems blocked - need Asynchronous output
- packaging Java library with dependencies in OSGi/Eclipse jars
- How to make a button that functions as a link in eclipse for android
- Null Pointer Exception Error on a Constructor
- Converter application error on Android
- how to import Java-7 source code in eclipse
- Running Android App From Emulator
- I can't get PyDev - PYTHONPATH to recognize my Java src directory in Eclipse
- eclipse cannot import apache tika src
- External Apache tomcat Server
- how to turnoff hydration in ipad phonegap android eclipse
- class not found error in java when compiling a project with libraries
- How to auto deploy on remote tomcat by maven?
- Insert template into every source file in an Eclipse project?
- How show informations of markers in google maps?
- How can i deploy my worklight project to my blackberry device..?
- Using a Command in multiple Plugins
- Spark RDD: AggregateByKey throws Task not serializable and I can't see non serializable objects
- Application error on AVD with Phonegap hello world app
- How to use Android documentation while developing in Eclipse with ADT?
- Intent - Not connection to the URL - No known activity to handle intent
- What do you call an application that does not come with an installer?