Jmu5667 Well-Known Member Licensed User Longtime User May 4, 2022 #1 Hello I refer to https://www.b4x.com/android/forum/threads/slc-import-does-not-exist.128703/post-807727 this example. When I try to compile it I see this: B4X: Starting step: Compiling Java code. javac 1.8.0_211 C:\Users\John Murphy\Desktop\SIBS\src\b4x\example\libSIBS.java:5: error: package android.app does not exist import android.app.Activity; ^ 1 error Error. I am try to build a library myself and wanted try an existing working example to get a feel for it. Regards John
Hello I refer to https://www.b4x.com/android/forum/threads/slc-import-does-not-exist.128703/post-807727 this example. When I try to compile it I see this: B4X: Starting step: Compiling Java code. javac 1.8.0_211 C:\Users\John Murphy\Desktop\SIBS\src\b4x\example\libSIBS.java:5: error: package android.app does not exist import android.app.Activity; ^ 1 error Error. I am try to build a library myself and wanted try an existing working example to get a feel for it. Regards John
drgottjr Expert Licensed User Longtime User May 5, 2022 #2 you picked a funny example to get a feel for building a library. android.app.Activity is in android.jar. after 10 years here, you have to know where that is. Upvote 0
you picked a funny example to get a feel for building a library. android.app.Activity is in android.jar. after 10 years here, you have to know where that is.