Due to 65K
error in my project I need it to migrate to Android Studio . While running
./gradlew assembleDebug
I am
Migrate to androidX library
With Android Studio 3.2 and higher, you can migrate an existing project to AndroidX by selecting Refactor > Migrate
to AndroidX from the menu bar.
Source: https://developer.android.com/jetpack/androidx/migrate
you just change import android.support.v7.app.ActionBarActivity; to import android.support.v7.app.AppCompatActivity;
and extends AppCompatActivity
clear project and then run. it will work
first you remove this thing in your project .. its is in build.gradle(module:app) then build your app now you project show the actual error and you find what is your actual problem is .. and after you find actual problem again paste it where its is belong to
allprojects { gradle.projectsEvaluated {
tasks.withType(JavaCompile)
{ options.encoding = 'UTF-8'
options.compilerArgs
<< "-Xlint:unchecked" << "-Xlint:deprecation"}]}}