Issue with importing a code in Android Studio [closed] - android

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
I am working on someone's else app, which I have cloned from another repository. While running the application, I keep on getting an error message.
The error message which I get is the following:-
Invalid injected android support version '202.7660.26.42.7351085',
expected to be of the form 'w.x.y.z'
The system is running on OpenJDK version "1.8.0_292"
The Android Studio is currently on its version 4.2.1
I tried upgrading the Android Studio, to the Canary Channel, but the problem seems to still exist.
Update
The problem is solved, just upgrade to Arctic Fox(2020.3.1) and it works like a charm. The problem was, the file had dependencies, which were incompatible with my machine. So it didn't work out well initially.

I think maybe that android project is using some feature that is still under development and not released yet

Try to Update Android Studio, this problem appear on older versions. hope this will work

Related

When i tried to add the library it gives an error of versions .. help me to solve it please [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
When i execute the library it gives an error of versions .. help me to solve it please!
this is not an error in fact.
It is a warning telling that you are using one version of android support library (26.1.0), and your library is using another version (27.0.2)
To solve this warning you should use version 27.0.2 too. But it might be not required. You may try building the app as it is now.

How to make an old Eclipse project work on Android Studio w/Gradle? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
My company gave me a 4 year old Android Project that I have to fix. I've been used to working with IntelliJ and Android Studio for a while now. At first sight I saw this was an eclipse project and I've tried numerous things to get this to work on Android Studio, more specifically like the following.
I'm also trying to integrate Gradle in this project. But even after trial and error I do not get the expected result that I normally get with my own projects, note the arrows I usually get with my other projects. Now it looks totally different.
Any help or tips on how to get this old project back on its feet is highly appreciated.
This could help you a lot:
Migrating from Eclipse ADT
Another critical thing is that if you are a keyboard-oriented programmer, it will take some time to get used to Android Studio's shortcuts. Even though it has some eclipse shortcut support.
Which can be easily found in here:
Eclipse Shortcuts
Good luck.
You can follow the following steps, no need to export the projcet as Gradle, Android Studio (AS) provides this by default,
Go to File menu and select New -> Import Project
next from the File browser select your Eclipse Project folder,
click Next in the subsequent steps and lastly Finish to successfully import the project
There may be some dependncies of your project but you can read the instructions provided by the Android Studio import dialogs and handle them,
ask further if you need help.
In the worst case scenario, you can always make a project by the same name, copy the sources (and resources) into their corresponding package, move the relevant stuff from the old AndroidManifest to the new, and add the external dependencies (such as that Google Play Lib for example) through Gradle itself.
If the project uses NDK, then you're gonna have a bad time though, because that requires setting up the Gradle experimental branch.

Error Importing Facebook SDK For Android In Eclipse [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I'm facing problem while importing facebook SDK for android in Eclipse. When I import, it shows a lot of errors.
Please help me solve this problem
The Facebook Android SDK v4.0 uses Gradle as it's build and dependency management system. http://marketplace.eclipse.org/content/gradle-integration-eclipse-44 is available for Eclipse. Also http://eclipse.org/m2e/ can be used for integrating with the Facebook's maven artifact: http://search.maven.org/#artifactdetails|com.facebook.android|facebook-android-sdk|4.0.0|

Android application stops unexcepetdly after importing and working in Android Studio? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
After I have moved to the Android Studio, Projects which are imported from Eclipse are force stopping when build and running on emulator and on device. When they are build and running from eclipse its working smoothly.
I have tested on emulator all versions above 2.3., All are showing same problem.
And also tested on Samsung galaxy ace, Galaxy Core, Xperia and some Microamx devices.
Is there any options to be set for the android studio?
First Of all Go through this Documentation and check the new build system
and some useful blogs
Blog1 Blog2
They might Help you
I would suggest you to go through this link and cross-verify what wrong you may be doing to import your eclipse project to android studio :
MigratingToAndroidStudio
Eclipse and Android Studio's Folder Structure is Different...
If you Export android project and Directly Import to Android Studio, That will not Working..

Latest Eclipse update causes errors? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
today I've updated my Eclipse (Win7 x86_64) with latest android updates and it caused some errors. First of all, after cleaning project Eclipse didn't generate R files. I've tried to find any possible error in my xml files, although - there was none. I've copied my project and opened it with Eclipse without latest updates on Arch Linux - Eclipse generated R file and everything was OK. I think that's also important to mention, that after updating Eclipse on Windows the new code, that I've written didn't work - worked perfectly on Linux's instance. I've copied all R files and folders to Windows, yet couldn't run app, because my apk was missing and after that I've just gave up.
Anyone had similar problems or is there any possible solution?
i had experienced the same. For the new SDK(ver 22.0.1), we need to install a new tool Android SDK Build Tools.
After that, update the eclipse ADT.
Restart the eclipse.
Then clean and run the project.
I had a similar experience some versions back. The work-around I found was to setup an entirely new and separate IDE instance including a different SDK folder location. Install from scratch! Good luck ...

Categories

Resources