Y ykucuk Well-Known Member Licensed User Longtime User Aug 14, 2015 #1 Hello, first of all i am newbie about java. i have java library and attach them to my project as #AdditionalJar and call function with inline code everthing is work except intent receiver there is one function which shows dialog. i should get this result after user choose option. i tried with inline code but get bellow error java.lang.RuntimeException: Unable to instantiate receiver com.sentio.haaitv.SampleLicenseReceiver: java.lang.ClassNotFoundException: Didn't find class "com.sentio.haaitv.SampleLicenseReceiver" on path: DexPathList[[zip file "/data/app/com.sentio.haaitv-90.apk"],nativeLibraryDirectories=[/data/app-lib/com.sentio.haaitv-90, /vendor/lib, /system/lib]] any help ?
Hello, first of all i am newbie about java. i have java library and attach them to my project as #AdditionalJar and call function with inline code everthing is work except intent receiver there is one function which shows dialog. i should get this result after user choose option. i tried with inline code but get bellow error java.lang.RuntimeException: Unable to instantiate receiver com.sentio.haaitv.SampleLicenseReceiver: java.lang.ClassNotFoundException: Didn't find class "com.sentio.haaitv.SampleLicenseReceiver" on path: DexPathList[[zip file "/data/app/com.sentio.haaitv-90.apk"],nativeLibraryDirectories=[/data/app-lib/com.sentio.haaitv-90, /vendor/lib, /system/lib]] any help ?
R Roycefer Well-Known Member Licensed User Longtime User Aug 14, 2015 #2 Try adding an import in your inline Java for the package that contains the missing class mentioned in the java.lang.ClassNotFoundException. Upvote 0
Try adding an import in your inline Java for the package that contains the missing class mentioned in the java.lang.ClassNotFoundException.
Erel B4X founder Staff member Licensed User Longtime User Aug 16, 2015 #3 Import is only relevant during compilation. It will not solve a ClassNotFoundException. Where is SimpleLicenseReciever class located? Upvote 0
Import is only relevant during compilation. It will not solve a ClassNotFoundException. Where is SimpleLicenseReciever class located?