I am new comer in android studio.I am facing multidex problem in android studio. i have got many ways to solve it from internet,However i have't fix this problem. Plz help me as soon as possible,Any sort of suggestion would be accepted
I suggest avoiding multidex by making your app smaller. Use this site and plugin to see where you are at http://www.methodscount.com/
Get rid of dependencies you don't actually use.
If you are using google play services make sure you don't just add the whole thing like this:
compile 'com.google.android.gms:play-services:8.4.0'
Add API's selectively as described here: https://developers.google.com/android/guides/setup
Related
I'm currently facing this issue:
"Cannot resolve class Keyboard"
When I tried to look it up, not much infomation were there beside "KeyBoard is deprecated in API level 29". I tried configuring the API level in build.gradle
In my MainActivity.java everything seemed to be working fine
For some reasons no one had this issue when I tried searching about it.
Could you show me a way to solve this? Thank you!
I updated Android Studio and after that all R's in my codes goes to Red like this:
I didn't any change in my code and after update this happened. I don't know how to solve it and even I don't know which other information should I provide here to better help.
Android Studio's suggested help didn't help actually!
I did Clear Project and Rebuild Project the projects but no success. It's about some conflicts? How I have to resolve it?
I have a problem when call ends, and finish() to current activity of conversation, app blows me, but does not show me any error, and often appears me this error:
E/TwilioConversations: [Signaling]:RESIP::TRANSPORT: Got TLS read ret=0 error=6 error:00000006:invalid library (0):OPENSSL_internal:public key routines
If someone could help me because I have a lot of time with this problem.
Do you have other 3rd-party libraries that use SSL? There may be a conflict between the Twilio Video SDK and another library.
I have also seen this resolved by ensuring that you have the latest version of the SDK installed.
However, if you can let me know any more specifics regarding your code, I'm happy to help debug further.
I am really sorry to ask such a bland and stupid question, but I am having the greatest of frustrations with trying to load the Google Maps project library into my project resources.
I have downloaded all the tools and necessities needed from the SDK to get Google Maps.
However, whenever I try to load the Google Maps library, I get 2 errors.
The first is that for some reason,
the Class known as FragmentActivity is missing. I have no idea what
it is or where to find it to get things going with an Android project.
The second distinct problem is that the console shoots off the following message:
"google_maps] Unable to resolve target 'android-16'"
Although I have a fairly strong idea of what this means, I don't quite know how to troubleshoot so that the library is built towards the desired API level.
I do apologize as I am new to Android and absolutely love the platform, but this one really has me dumbfounded. Any and all information and suggestions is always most appreciated.
Thanks and once again, sorry for asking something so silly.
Well for the first question:
FragmentActivity is part of the google-support-v4 library and designed for application that are developed to SDK < 11 for supporting fragments. So you didn't added the referencing of this library to you project.
you can get a better idea of the imports you need to make and how to make them by reading this
blog post I wrote on Google Map API V2:
Google Map API V2 guide
about your second question, you probably trying to run this project against an API level you didn't downloaded from the SDK Manager, you have two options:
downloaded the needed API package from the SDK Manager.
right click on your project -> Properties -> Android -> change the project build target to a target that you have its API level downloaded.
Try this answer, Generate Google Map key for android - step by step.
Or take a look to this very helpful step by step tutorial. I struggle for 3 days with the maps stuff, but that tutorial showed me the light.
I'm doing a REALLY simple app, a basic hello world to test AndEngine and I am currently having some problems when running it:
I set my emulator properties as RealMayo suggests in his videos and it should work but I get this error instead
07-23 13:10:23.014: E/AndroidRuntime(1485): java.lang.IllegalArgumentException: No EGLConfig found!
Anyone has encountered the same situation, or may know how to solve it?
I am almost tempted to not us AndEngine at all... as a simple app has been really difficult to run.
NOTE: I have found some posts but they are at least 3 months old and the use of emulators has been fixed not long ago.
Anyways Thank you! :)
make sure your AVD is at least Android version 4.0.3
see this thread http://www.andengine.org/forums/gles2/api-level-t8230.html
just to add a small addition to the answer above (answer #1): make sure along creating an AVD with API level 15 (Android 4.0.3), that imported AndEngine library's project target is also built with Android 4.0.3. To validate: right click on AndEngine library in eclipse project, choose "properties", in the left pane of opened window click on "Android" label; in right pane verify that "Android 4.0.3" checkbox is checked. If "Android 4.0.3" option is not listed there, just import it with Android SDK Manager.
The comment from Ravikumar11 about GPU helped me get this resolved.
Additionally, I had to:
Update the SDK with all options for my current API (17) and the general tools (binary downloads that are not API-specific)
As eclipse suggests after SDK update, run Check for Updates in eclipse and a bunch of stuff gets loaded subsequently
From there, I was able to run my AndEngine app in the emulator