I've recently updated my Android Studio to 3.1.3 version and something happened: when I start a new project a lot of commands like "findViewById" and so on do not work, but that's not my real problem. I found an old project after years and I wish to work on it, on this project Android Studio recognize all the commands but when it says that I am using different types of versions in my Gradle. I looked for a solution everywhere, I tried downloading all the platforms and using newer platforms but then some commands do not get recognized and anyway the same problem persisted. I don't know what to do, have you got a solution please? thanks
mixing versions can lead to runtime crashes, no solution work
45 Views Asked by Susanna Scalo At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in GRADLE
- Gradle. Detect dependencies problems
- Gradle Duplicate Entry
- Creating distribution with repackaged spring boot jar using gradle application plugin
- LinkageError after upgrading dropwizard to 0.8.1
- Android Studio unable to run the project
- Add JVM args to spring boot application
- How do I know what is available in minSdkVersion in Android Studio?
- Gradle: Override transitive dependency by version classifier
- gradle get System environment variables
- Why does Eclipse want to download a previous version of Gradle when I already have a later version installed?
- Gradle project sync failed - Gradle DSL method not found: android()
- Use thymeleaf template for some pages and rest for some for building gradle project
- 'Provided' dependency in Gradle
- Invalid Gradle JDK configuration found
- Does Android Studio use Gradle Daemon?
Related Questions in VERSION
- How to handle distro versions in Yocto
- Updating project version: Composer
- Updating app icon and screenshots
- Git shortlog exclude comments starting with string
- JPA Version column isn't updating after merge()
- Version Comparison using KSH
- When i run the below query in MySQL 5.6 it shows 141000 records. but when i run this on MySQL 5.0 it fetches only 91 records
- bash 4.2 / 4.3: Different behavior in C-style loop
- How can I install ruby 2.2.1 if I am on 2.2.2?
- Points to be looked into while upgrading from redis-2.8.19 to redis-3.0.2
- How to force a jar to run in java 7?
- UniServer Coral and UniServerZ Running Wrong PHP Version
- Can you update QPython3 version of Python3?
- How to add user into specific branch in svn subversion (batch script or api)
- Reactjs Methods in React Native to Find DOM Node Dimensions
Related Questions in ANDROID-STUDIO-3.1.3
- Android Studio 3.1.2 constantly shows error "Please select Android SDK"
- Saving Files in Android - For Beginners (Internal / External Storage)
- Program type already present: com.google.android.gms.common.api.zzd , not able to resolve
- Gradle sync failed: Cause: startup failed (Basic functionality not working)
- Error: cannot access zzbfm class file for com.google.android.gms.internal.zzbfm not found
- Internal error. java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing
- Android studio is not showing toolbar but device is showing it
- Android Studio 3.1.3 render fail, missing styles, failed to insantiate one or more classes
- New installed Android studio 3.1.3 Gradle project sync failed
- How to insert ImageView without an image in Android Studio's designer view?
- Android: how to use mapbox setZoomControlsEnabled?
- while building android studio show error..?
- Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated with android studio 3.1.3
- Android Studio 3.1.3 having issues with Constraint layout
- Stop method parameter names from being highlighted in Android Studio
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?


I was able to figure this out eventually!
My error message said something was including version 26.1.0 (older than my target). I went to the
Terminaltab on the bottom bar in Android Studio and rangradlew app:dependencies > outwhich dumped a lot of info toout(in my project directory).Open
out, search for the conflict (in my case 26.1.0) and I found this:Now that I know what the problem is, I used the solution here to fix it, which was to add the newer version with