Build Fails with error: cannot find symbol class SupportSQLiteDatabase although dependencies are includedAndroid: Compilation error with v7 support lib 27.1.0 “Program type already present” android.support.v7.recyclerview.extensions.ListAdapterCannot find symbol class errorError: cannot find symbol classapp:transformClassesWithDesugarForMockDebug using Android Studio 3 canary 1Debugging DataBinding errors when using Dagger, Room and LiveDataAndroid Room's does not accept generic field typeerror: cannot find symbol class DataBindingComponent, Build okay but run failedorg.gradle.internal.component.AmbiguousVariantSelectionExceptionCould not find class 'dalvik.system…'Build errors. Duplicate class android.support.v4Unity3d Admob integration breaks Android Build: “D8: Program type already present: android.support.customtabs.ICustomTabsCallback”

Why was such an unrevealing title originally chosen and then changed for some International markets?

Did right-wing politician Franz Josef Strauss ever explain why he gave a 3 billion loan to East Germany in 1983?

Password Hashing Security Using Scrypt & Argon2

Category-theoretic treatment of diffs, patches and merging?

I make billions (#6)

How to properly translate the key phrase of Erdoğan's 2016 letter to Putin, "kusura bakmasınlar," to Russian

Why is a mixture of two normally distributed variables only bimodal if their means differ by at least two times the common standard deviation?

Four ships at the ocean with the same distance

Conditions for Roots of a quadratic equation at infinity

Moving millions of files to a different directory with specfic name patterns

Users forgetting to regenerate PDF before sending it

What would +1/+2/+3 items be called in game?

Why is the Cauchy Distribution is so useful?

When do flights get cancelled due to fog?

How should I ask for a "pint" in countries that use metric?

What could cause the sea level to massively decrease?

This LM317 diagram doesn't make any sense to me

Publishing papers seem natural to many, while I find it really hard to think novel stuff to pursue till publication. How to cope up with this?

How does one acquire an undead eyeball encased in a gem?

Swapping "Good" and "Bad"

Would a Nikon FG 20 film SLR camera take pictures without batteries?

Is there a strong legal guarantee that the U.S. can give to another country that it won't attack them?

User Vs. Connected App

Strong Password Detection in Python



Build Fails with error: cannot find symbol class SupportSQLiteDatabase although dependencies are included


Android: Compilation error with v7 support lib 27.1.0 “Program type already present” android.support.v7.recyclerview.extensions.ListAdapterCannot find symbol class errorError: cannot find symbol classapp:transformClassesWithDesugarForMockDebug using Android Studio 3 canary 1Debugging DataBinding errors when using Dagger, Room and LiveDataAndroid Room's does not accept generic field typeerror: cannot find symbol class DataBindingComponent, Build okay but run failedorg.gradle.internal.component.AmbiguousVariantSelectionExceptionCould not find class 'dalvik.system…'Build errors. Duplicate class android.support.v4Unity3d Admob integration breaks Android Build: “D8: Program type already present: android.support.customtabs.ICustomTabsCallback”






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Working on an Android app. The app was working fine, but suddenly I am getting build fails, with multiple 'cannot find symbol class' errors. I am pretty sure I have pushed several build releases on the same code, which is giving cannot find class errors now.



Errors in classes for which I have already included the implementations in the gradle files. (Error:(3, 35) error: cannot find symbol class SupportSQLiteDatabase), (Error:(3, 35) error: cannot find symbol class SupportSQLiteQuery)



Have tried changing details.useVersion to 28.0.0 but same result.



configurations.all 

resolutionStrategy.eachDependency DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support')
if (!requested.name.startsWith("multidex"))
details.useVersion '26.0.0'






Gradle entries:



android 

compileSdkVersion 28

//buildToolsVersion "25.0.2"
defaultConfig
applicationId "com.xxx.xxx"
minSdkVersion 21
minSdkVersion 21
targetSdkVersion 25
versionCode 3
versionName "1.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true

compileOptions
targetCompatibility 1.8
sourceCompatibility 1.8



dependencies

implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'

// compile 'com.google.android.gms:play-services:7.8+'
// Barcode reader requires Version 8.1+ of playservices.
implementation 'com.google.android.gms:play-services-vision:15.0.2'
// testCompile 'junit:junit:4.12'

//Adding dependencies for the ROOM library
//
// ViewModel and LiveData
implementation "android.arch.lifecycle:extensions:1.1.0"
// alternatively, just ViewModel
implementation "android.arch.lifecycle:viewmodel:1.1.0"
// alternatively, just LiveData
implementation "android.arch.lifecycle:livedata:1.1.0"
annotationProcessor "android.arch.lifecycle:compiler:1.1.0"
// Room (use 1.1.0-alpha1 for latest alpha)
implementation "android.arch.persistence.room:runtime:1.1.1"
annotationProcessor "android.arch.persistence.room:compiler:1.1.1"
// Paging
implementation "android.arch.paging:runtime:1.0.0-alpha5"
// Test helpers for LiveData
testImplementation "android.arch.core:core-testing:1.1.0"
// Test helpers for Room
testImplementation "android.arch.persistence.room:testing:1.0.0"
//
//End ROOM library dependencies
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"

//JSON GSON Depedency
implementation 'com.google.code.gson:gson:2.8.2'

//Volley Dependency for HTTP(s) requests
implementation 'com.android.volley:volley:1.1.0'

//Recycler view and card view
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'

//ui Template related dependencies
implementation 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
implementation 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.6@aar')
transitive = true

implementation 'com.heinrichreimersoftware:material-intro:1.6.2'
implementation 'com.squareup.picasso:picasso:2.5.2'

//Retrofit libraries
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.2.0'

//Firebase & Google Services
implementation 'com.google.firebase:firebase-core:16.0.3'

implementation 'com.google.firebase:firebase-messaging:17.3.2'

//RxJava libraries
implementation 'io.reactivex.rxjava2:rxjava:2.0.1'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'

compile 'com.squareup.okhttp3:logging-interceptor:3.5.0'

//view injection
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

// for dimension manage
implementation 'com.intuit.sdp:sdp-android:1.0.5'

//datepicker
implementation 'com.github.drawers:SpinnerDatePicker:1.0.6'

//Dependency for SupportSQLiteDatabase
implementation 'android.arch.persistence:db:1.1.1'












share|improve this question






























    0















    Working on an Android app. The app was working fine, but suddenly I am getting build fails, with multiple 'cannot find symbol class' errors. I am pretty sure I have pushed several build releases on the same code, which is giving cannot find class errors now.



    Errors in classes for which I have already included the implementations in the gradle files. (Error:(3, 35) error: cannot find symbol class SupportSQLiteDatabase), (Error:(3, 35) error: cannot find symbol class SupportSQLiteQuery)



    Have tried changing details.useVersion to 28.0.0 but same result.



    configurations.all 

    resolutionStrategy.eachDependency DependencyResolveDetails details ->
    def requested = details.requested
    if (requested.group == 'com.android.support')
    if (!requested.name.startsWith("multidex"))
    details.useVersion '26.0.0'






    Gradle entries:



    android 

    compileSdkVersion 28

    //buildToolsVersion "25.0.2"
    defaultConfig
    applicationId "com.xxx.xxx"
    minSdkVersion 21
    minSdkVersion 21
    targetSdkVersion 25
    versionCode 3
    versionName "1.2"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    multiDexEnabled true

    compileOptions
    targetCompatibility 1.8
    sourceCompatibility 1.8



    dependencies

    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'

    // compile 'com.google.android.gms:play-services:7.8+'
    // Barcode reader requires Version 8.1+ of playservices.
    implementation 'com.google.android.gms:play-services-vision:15.0.2'
    // testCompile 'junit:junit:4.12'

    //Adding dependencies for the ROOM library
    //
    // ViewModel and LiveData
    implementation "android.arch.lifecycle:extensions:1.1.0"
    // alternatively, just ViewModel
    implementation "android.arch.lifecycle:viewmodel:1.1.0"
    // alternatively, just LiveData
    implementation "android.arch.lifecycle:livedata:1.1.0"
    annotationProcessor "android.arch.lifecycle:compiler:1.1.0"
    // Room (use 1.1.0-alpha1 for latest alpha)
    implementation "android.arch.persistence.room:runtime:1.1.1"
    annotationProcessor "android.arch.persistence.room:compiler:1.1.1"
    // Paging
    implementation "android.arch.paging:runtime:1.0.0-alpha5"
    // Test helpers for LiveData
    testImplementation "android.arch.core:core-testing:1.1.0"
    // Test helpers for Room
    testImplementation "android.arch.persistence.room:testing:1.0.0"
    //
    //End ROOM library dependencies
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"

    //JSON GSON Depedency
    implementation 'com.google.code.gson:gson:2.8.2'

    //Volley Dependency for HTTP(s) requests
    implementation 'com.android.volley:volley:1.1.0'

    //Recycler view and card view
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'

    //ui Template related dependencies
    implementation 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
    implementation 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
    implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.6@aar')
    transitive = true

    implementation 'com.heinrichreimersoftware:material-intro:1.6.2'
    implementation 'com.squareup.picasso:picasso:2.5.2'

    //Retrofit libraries
    implementation 'com.squareup.retrofit2:retrofit:2.3.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.2.0'

    //Firebase & Google Services
    implementation 'com.google.firebase:firebase-core:16.0.3'

    implementation 'com.google.firebase:firebase-messaging:17.3.2'

    //RxJava libraries
    implementation 'io.reactivex.rxjava2:rxjava:2.0.1'
    implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
    implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'

    compile 'com.squareup.okhttp3:logging-interceptor:3.5.0'

    //view injection
    implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

    // for dimension manage
    implementation 'com.intuit.sdp:sdp-android:1.0.5'

    //datepicker
    implementation 'com.github.drawers:SpinnerDatePicker:1.0.6'

    //Dependency for SupportSQLiteDatabase
    implementation 'android.arch.persistence:db:1.1.1'












    share|improve this question


























      0












      0








      0








      Working on an Android app. The app was working fine, but suddenly I am getting build fails, with multiple 'cannot find symbol class' errors. I am pretty sure I have pushed several build releases on the same code, which is giving cannot find class errors now.



      Errors in classes for which I have already included the implementations in the gradle files. (Error:(3, 35) error: cannot find symbol class SupportSQLiteDatabase), (Error:(3, 35) error: cannot find symbol class SupportSQLiteQuery)



      Have tried changing details.useVersion to 28.0.0 but same result.



      configurations.all 

      resolutionStrategy.eachDependency DependencyResolveDetails details ->
      def requested = details.requested
      if (requested.group == 'com.android.support')
      if (!requested.name.startsWith("multidex"))
      details.useVersion '26.0.0'






      Gradle entries:



      android 

      compileSdkVersion 28

      //buildToolsVersion "25.0.2"
      defaultConfig
      applicationId "com.xxx.xxx"
      minSdkVersion 21
      minSdkVersion 21
      targetSdkVersion 25
      versionCode 3
      versionName "1.2"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      multiDexEnabled true

      compileOptions
      targetCompatibility 1.8
      sourceCompatibility 1.8



      dependencies

      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support:support-v4:28.0.0'
      implementation 'com.android.support:design:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.0.2'

      // compile 'com.google.android.gms:play-services:7.8+'
      // Barcode reader requires Version 8.1+ of playservices.
      implementation 'com.google.android.gms:play-services-vision:15.0.2'
      // testCompile 'junit:junit:4.12'

      //Adding dependencies for the ROOM library
      //
      // ViewModel and LiveData
      implementation "android.arch.lifecycle:extensions:1.1.0"
      // alternatively, just ViewModel
      implementation "android.arch.lifecycle:viewmodel:1.1.0"
      // alternatively, just LiveData
      implementation "android.arch.lifecycle:livedata:1.1.0"
      annotationProcessor "android.arch.lifecycle:compiler:1.1.0"
      // Room (use 1.1.0-alpha1 for latest alpha)
      implementation "android.arch.persistence.room:runtime:1.1.1"
      annotationProcessor "android.arch.persistence.room:compiler:1.1.1"
      // Paging
      implementation "android.arch.paging:runtime:1.0.0-alpha5"
      // Test helpers for LiveData
      testImplementation "android.arch.core:core-testing:1.1.0"
      // Test helpers for Room
      testImplementation "android.arch.persistence.room:testing:1.0.0"
      //
      //End ROOM library dependencies
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"

      //JSON GSON Depedency
      implementation 'com.google.code.gson:gson:2.8.2'

      //Volley Dependency for HTTP(s) requests
      implementation 'com.android.volley:volley:1.1.0'

      //Recycler view and card view
      implementation 'com.android.support:recyclerview-v7:28.0.0'
      implementation 'com.android.support:cardview-v7:28.0.0'

      //ui Template related dependencies
      implementation 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
      implementation 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
      implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.6@aar')
      transitive = true

      implementation 'com.heinrichreimersoftware:material-intro:1.6.2'
      implementation 'com.squareup.picasso:picasso:2.5.2'

      //Retrofit libraries
      implementation 'com.squareup.retrofit2:retrofit:2.3.0'
      implementation 'com.squareup.retrofit2:converter-gson:2.2.0'

      //Firebase & Google Services
      implementation 'com.google.firebase:firebase-core:16.0.3'

      implementation 'com.google.firebase:firebase-messaging:17.3.2'

      //RxJava libraries
      implementation 'io.reactivex.rxjava2:rxjava:2.0.1'
      implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
      implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'

      compile 'com.squareup.okhttp3:logging-interceptor:3.5.0'

      //view injection
      implementation 'com.jakewharton:butterknife:8.8.1'
      annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

      // for dimension manage
      implementation 'com.intuit.sdp:sdp-android:1.0.5'

      //datepicker
      implementation 'com.github.drawers:SpinnerDatePicker:1.0.6'

      //Dependency for SupportSQLiteDatabase
      implementation 'android.arch.persistence:db:1.1.1'












      share|improve this question
















      Working on an Android app. The app was working fine, but suddenly I am getting build fails, with multiple 'cannot find symbol class' errors. I am pretty sure I have pushed several build releases on the same code, which is giving cannot find class errors now.



      Errors in classes for which I have already included the implementations in the gradle files. (Error:(3, 35) error: cannot find symbol class SupportSQLiteDatabase), (Error:(3, 35) error: cannot find symbol class SupportSQLiteQuery)



      Have tried changing details.useVersion to 28.0.0 but same result.



      configurations.all 

      resolutionStrategy.eachDependency DependencyResolveDetails details ->
      def requested = details.requested
      if (requested.group == 'com.android.support')
      if (!requested.name.startsWith("multidex"))
      details.useVersion '26.0.0'






      Gradle entries:



      android 

      compileSdkVersion 28

      //buildToolsVersion "25.0.2"
      defaultConfig
      applicationId "com.xxx.xxx"
      minSdkVersion 21
      minSdkVersion 21
      targetSdkVersion 25
      versionCode 3
      versionName "1.2"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      multiDexEnabled true

      compileOptions
      targetCompatibility 1.8
      sourceCompatibility 1.8



      dependencies

      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support:support-v4:28.0.0'
      implementation 'com.android.support:design:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.0.2'

      // compile 'com.google.android.gms:play-services:7.8+'
      // Barcode reader requires Version 8.1+ of playservices.
      implementation 'com.google.android.gms:play-services-vision:15.0.2'
      // testCompile 'junit:junit:4.12'

      //Adding dependencies for the ROOM library
      //
      // ViewModel and LiveData
      implementation "android.arch.lifecycle:extensions:1.1.0"
      // alternatively, just ViewModel
      implementation "android.arch.lifecycle:viewmodel:1.1.0"
      // alternatively, just LiveData
      implementation "android.arch.lifecycle:livedata:1.1.0"
      annotationProcessor "android.arch.lifecycle:compiler:1.1.0"
      // Room (use 1.1.0-alpha1 for latest alpha)
      implementation "android.arch.persistence.room:runtime:1.1.1"
      annotationProcessor "android.arch.persistence.room:compiler:1.1.1"
      // Paging
      implementation "android.arch.paging:runtime:1.0.0-alpha5"
      // Test helpers for LiveData
      testImplementation "android.arch.core:core-testing:1.1.0"
      // Test helpers for Room
      testImplementation "android.arch.persistence.room:testing:1.0.0"
      //
      //End ROOM library dependencies
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"

      //JSON GSON Depedency
      implementation 'com.google.code.gson:gson:2.8.2'

      //Volley Dependency for HTTP(s) requests
      implementation 'com.android.volley:volley:1.1.0'

      //Recycler view and card view
      implementation 'com.android.support:recyclerview-v7:28.0.0'
      implementation 'com.android.support:cardview-v7:28.0.0'

      //ui Template related dependencies
      implementation 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
      implementation 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
      implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.6@aar')
      transitive = true

      implementation 'com.heinrichreimersoftware:material-intro:1.6.2'
      implementation 'com.squareup.picasso:picasso:2.5.2'

      //Retrofit libraries
      implementation 'com.squareup.retrofit2:retrofit:2.3.0'
      implementation 'com.squareup.retrofit2:converter-gson:2.2.0'

      //Firebase & Google Services
      implementation 'com.google.firebase:firebase-core:16.0.3'

      implementation 'com.google.firebase:firebase-messaging:17.3.2'

      //RxJava libraries
      implementation 'io.reactivex.rxjava2:rxjava:2.0.1'
      implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
      implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'

      compile 'com.squareup.okhttp3:logging-interceptor:3.5.0'

      //view injection
      implementation 'com.jakewharton:butterknife:8.8.1'
      annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

      // for dimension manage
      implementation 'com.intuit.sdp:sdp-android:1.0.5'

      //datepicker
      implementation 'com.github.drawers:SpinnerDatePicker:1.0.6'

      //Dependency for SupportSQLiteDatabase
      implementation 'android.arch.persistence:db:1.1.1'









      android multidex






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 4 at 1:37









      Taslim Oseni

      1,7034 gold badges17 silver badges29 bronze badges




      1,7034 gold badges17 silver badges29 bronze badges










      asked Mar 25 at 23:14









      R.UR.U

      14 bronze badges




      14 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I tried invalidating/restarting - Did not work.
          Removed Library files and sync with Gradle - did not work.



          Upgraded Android Studio to 3.3.2. Used Kotlin V 1.3. Upgraded Gradle.
          That removed the 'cannot find symbol class' error. But gave me new errors.
          For some reason AndroidManifest.xml was throwing errors for the following format :



           <activity
          android:name=".transactions.xxx.xxx"
          android:screenOrientation="portrait">
          </activity>


          But when the same code was changed to



           <activity
          android:name=".transactions.xxx.xxx"
          android:screenOrientation="portrait"/>


          It worked fine.



          Finally I got 'program type already present : ...ListAdapter' error which was resolved by



          Android: Compilation error with v7 support lib 27.1.0 "Program type already present" android.support.v7.recyclerview.extensions.ListAdapter






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55347726%2fbuild-fails-with-error-cannot-find-symbol-class-supportsqlitedatabase-although%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I tried invalidating/restarting - Did not work.
            Removed Library files and sync with Gradle - did not work.



            Upgraded Android Studio to 3.3.2. Used Kotlin V 1.3. Upgraded Gradle.
            That removed the 'cannot find symbol class' error. But gave me new errors.
            For some reason AndroidManifest.xml was throwing errors for the following format :



             <activity
            android:name=".transactions.xxx.xxx"
            android:screenOrientation="portrait">
            </activity>


            But when the same code was changed to



             <activity
            android:name=".transactions.xxx.xxx"
            android:screenOrientation="portrait"/>


            It worked fine.



            Finally I got 'program type already present : ...ListAdapter' error which was resolved by



            Android: Compilation error with v7 support lib 27.1.0 "Program type already present" android.support.v7.recyclerview.extensions.ListAdapter






            share|improve this answer



























              0














              I tried invalidating/restarting - Did not work.
              Removed Library files and sync with Gradle - did not work.



              Upgraded Android Studio to 3.3.2. Used Kotlin V 1.3. Upgraded Gradle.
              That removed the 'cannot find symbol class' error. But gave me new errors.
              For some reason AndroidManifest.xml was throwing errors for the following format :



               <activity
              android:name=".transactions.xxx.xxx"
              android:screenOrientation="portrait">
              </activity>


              But when the same code was changed to



               <activity
              android:name=".transactions.xxx.xxx"
              android:screenOrientation="portrait"/>


              It worked fine.



              Finally I got 'program type already present : ...ListAdapter' error which was resolved by



              Android: Compilation error with v7 support lib 27.1.0 "Program type already present" android.support.v7.recyclerview.extensions.ListAdapter






              share|improve this answer

























                0












                0








                0







                I tried invalidating/restarting - Did not work.
                Removed Library files and sync with Gradle - did not work.



                Upgraded Android Studio to 3.3.2. Used Kotlin V 1.3. Upgraded Gradle.
                That removed the 'cannot find symbol class' error. But gave me new errors.
                For some reason AndroidManifest.xml was throwing errors for the following format :



                 <activity
                android:name=".transactions.xxx.xxx"
                android:screenOrientation="portrait">
                </activity>


                But when the same code was changed to



                 <activity
                android:name=".transactions.xxx.xxx"
                android:screenOrientation="portrait"/>


                It worked fine.



                Finally I got 'program type already present : ...ListAdapter' error which was resolved by



                Android: Compilation error with v7 support lib 27.1.0 "Program type already present" android.support.v7.recyclerview.extensions.ListAdapter






                share|improve this answer













                I tried invalidating/restarting - Did not work.
                Removed Library files and sync with Gradle - did not work.



                Upgraded Android Studio to 3.3.2. Used Kotlin V 1.3. Upgraded Gradle.
                That removed the 'cannot find symbol class' error. But gave me new errors.
                For some reason AndroidManifest.xml was throwing errors for the following format :



                 <activity
                android:name=".transactions.xxx.xxx"
                android:screenOrientation="portrait">
                </activity>


                But when the same code was changed to



                 <activity
                android:name=".transactions.xxx.xxx"
                android:screenOrientation="portrait"/>


                It worked fine.



                Finally I got 'program type already present : ...ListAdapter' error which was resolved by



                Android: Compilation error with v7 support lib 27.1.0 "Program type already present" android.support.v7.recyclerview.extensions.ListAdapter







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 29 at 2:30









                R.UR.U

                14 bronze badges




                14 bronze badges


















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55347726%2fbuild-fails-with-error-cannot-find-symbol-class-supportsqlitedatabase-although%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현