Android Question error: package android.support.v7.app does not exist

laguilar

Member
Licensed User
Longtime User
I know there have been several posts about this issue, and I've tried all the solutions mentioned but I am still getting the error "package android.support.v7.app does not exist".

Things I've done:
- Verified Java 8 installed
- Deleted old "Android" SDK folder.
- Updated Android SDK (downloaded from b4a.com/b4a.html)
- Download the latest AppCompat-4.0 that contains the artifact fixes
- Configured Paths (to use the android-30 jar)
- Ran all the latest updates in the Android SDK manager
- Ran Jetify (as administrator)
- Added Line (in Main): #AdditionalJar: com.android.support:appcompat-v7
- Added Line (in Main): #Extends: android.support.v7.app.AppCompatActivity
- Repeatedly restarted B4A (to potentially reload environment changes as i step through each step)
- Before each build I refreshed libraries and ran the "Clean project".

I've been using b4a for many years, I have a sizable project that I have not been able to compile this project since B4A version 9.90, I've been stuck compiling with B4A 9.00.

Any ideas? Thanks.

P.S.: I can offer remote access is someone would like to remote in and take a look.
 

laguilar

Member
Licensed User
Longtime User
Sorry, I neglected to mention that above, that was of course step 1. See the build log here:


B4X:
B4A Version: 11.00
Parsing code.    (1.20s)
    Java Version: 8
Building folders structure.    (0.10s)
Compiling code.    (1.64s)
Compiling layouts code.    (0.13s)
Organizing libraries.    (0.03s)
    (AndroidX SDK)
Compiling resources    (0.69s)
Linking resources    (0.60s)
Compiling debugger engine code.    (5.30s)
Compiling generated Java code.    Error
javac 1.8.0_65
src\com\package.renamed.for.privacy\main.java:6: error: package android.support.v7.app does not exist
import android.support.v7.app.AppCompatDelegate;
                             ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…