android-studio

Illegal characters in filenames of a .jar file which android studio is not accepting

末鹿安然 提交于 2020-01-14 07:02:49
问题 I wanted to use StanfordCoreNLP library in my android app . So i have imported the .jar files using the following dependencies in my gradle.build file . These are my gradle dependencies The Files are imported properly but many of the files in the .jar file have ':' character in their names which the android studio wont accept .You can see the names here . Filenames with invalid characters in .jar file So i got an error as below when i tried to make the project . com.android.build.api

Illegal characters in filenames of a .jar file which android studio is not accepting

假装没事ソ 提交于 2020-01-14 07:02:17
问题 I wanted to use StanfordCoreNLP library in my android app . So i have imported the .jar files using the following dependencies in my gradle.build file . These are my gradle dependencies The Files are imported properly but many of the files in the .jar file have ':' character in their names which the android studio wont accept .You can see the names here . Filenames with invalid characters in .jar file So i got an error as below when i tried to make the project . com.android.build.api

Android Studio project doesn't recognize some classes

China☆狼群 提交于 2020-01-14 05:51:07
问题 Recently my project got messed up. I don't know how it became like this. There was no power failure or anything happened while using Android Studio. Next day I opened my project and now it's a full mess. I attached the images of how they look now. Classes are not recognized as you can see they have .java extension showing and when I opened one of them it show like below. but if I opened the file directly from notepad or something the source-code of these files are not changed. I did delete

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException

女生的网名这么多〃 提交于 2020-01-14 05:48:04
问题 I'm new at android. I'm trying to add Google sign in feature in my app but when i add 'com.google.android.gms:play-services-auth:17.0.0' in build.gradle file, i got this error: Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: androidx/versionedparcelable/CustomVersionedParcelable.class Kindly suggest solution, i spend whole day but cant get solution. Build.gradle code

Why does Android Studio enter the full path for some classes?

拥有回忆 提交于 2020-01-14 05:03:30
问题 I have the following code for creating a custom adapter and android studio is defaulting to the full path of my package. This was not always like this. I wonder what has changed. And it doesn't know what localNetView is even though is declare at the top of my class. Why does Android Studio do it like this? Without making any changes can't find the classes. private ListView localNetListView; private Adapter localNetAdapter; localNetListView = (ListView) findViewById(R.id.local_network);

Google play services installed but folder google_play_services_lib not exists

元气小坏坏 提交于 2020-01-14 04:40:07
问题 I have stupid question, but I can't resolve my problem (( I'm user Android SDK manager revision 25.1.6 Google play services installed (folder Sdk\extras\google\google_play_services exists), but google_play_services_lib folder not exists in SDK folder I tried reinstall play services but with the same result In folder google_play_services only docs, samples and package.xml source.properties maybe somebody has solution for this problem? Thank you -- edit create simple project in android studio

Execution failed for task ':app:transformClassesWithDexForRelease' [closed]

假如想象 提交于 2020-01-14 04:14:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . * Error:Execution failed for task ':app:transformClassesWithDexForRelease'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/firebase/iid/zzb; *

Maven project configuration required for module

旧时模样 提交于 2020-01-14 03:17:08
问题 I'm trying to compile a project in Android Studio 1.2.1.1 and getting the following error: Error:Maven Resources Compiler: Maven project configuration required for module 'slidingmenu' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE. I can't find any info in the internet about this error. How do I fix it? 回答1: I had two git branches of the app: one branch was using gradle and the other branch was using maven and ant. I checked out the

Error on opening a Project created on Android Studio 2.3 in Android Studio 3.0.1

无人久伴 提交于 2020-01-14 03:08:09
问题 I'm currently using Android Studio 3.0.1. When I try to open a project that has been developed in Android Studio 2.3 I encountered with the following error, Error: Android Source Generator: Error: Can't find bundle for base name messages.AndroidJpsBundle, locale en_IN java.util.MissingResourceException: Can't find bundle for base name messages.AndroidJpsBundle, locale en_IN at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle

Can I change the default layout in Android Studio?

耗尽温柔 提交于 2020-01-14 02:07:51
问题 When I create a new project with a Blank Activity in Android Studio, it uses a RelativeLayout by default. I'd like to change that Blank Activity default to LinearLayout, rather than editing each activity - is that possible? 回答1: I have already answered this question here: How to change a default template files in Android Studio. Basically you need to look at the recipe_fragment.xml.ftl file, so you, know which files are used for the template. The default template files are located in: ...