Android Question Trouble with new instalition

volvomann

Active Member
Licensed User
Longtime User
Hallo.¨
I have instaled b4a on new Pc, but non off my aplication works annymore, i got this error "
class file for android.support.v4.view.PagerAdapter not found
Note: src\b4a\example\callsms.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error "
What can i do
 

DonManfred

Expert
Licensed User
Longtime User
Did you have the Android Support Library loaded with the SDK-Manager on the other PC?
and, i think, you have to copy the support.jar to libfolder but i may wrong.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
That is the problem the disk on the old pc is defect.

and you installed b4a on a new pc, yes. But it seems that you have to install all needed google sdks and on some jars you have to copy to your libfolder cause a b4a-lib needs this jar-file. Or maybe you forgot to install a lib?

In my Libfolder there is a android-support-v4.jar
I remember that i have copied it to libfolder after i downloaded the Android Support Library in Android-SDK-Manager... And i also remember that i have done that due to a b4a-lib which i installed.

Edit: It was this lib which needs the jar

Maybe you are using this lib and maybe you forgot to do that on the new pc? ;)

I´m not sure but "class file for android.support.v4.view.PagerAdapter not found" sounds for me like "android-support-v4.jar not found" so i suggested this to check.
 
Last edited:
Upvote 0

volvomann

Active Member
Licensed User
Longtime User
and you installed b4a on a new pc, yes. But it seems that you have to install all needed google sdks and on some jars you have to copy to your libfolder cause a b4a-lib needs this jar-file. Or maybe you forgot to install a lib?

In my Libfolder there is a android-support-v4.jar
I remember that i have copied it to libfolder after i downloaded the Android Support Library in Android-SDK-Manager... And i also remember that i have done that due to a b4a-lib which i installed.

Edit: It was this lib which needs the jar

Maybe you are using this lib and maybe you forgot to do that on the new pc? ;)

I´m not sure but "class file for android.support.v4.view.PagerAdapter not found" sounds for me like "android-support-v4.jar not found" so i suggested this to check.

I found it. :)
 
Upvote 0
Top