Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force Close after running example code #38

Open
TerraRome opened this issue Jul 21, 2023 · 2 comments
Open

Force Close after running example code #38

TerraRome opened this issue Jul 21, 2023 · 2 comments

Comments

@TerraRome
Copy link

TerraRome commented Jul 21, 2023

i got this error in log " java.lang.NoSuchMethodError: No virtual method getSubscriptionId()I in class Landroid/telephony/TelephonyManager; or its super classes (declaration of 'android.telephony.TelephonyManager' appears in /system/framework/framework.jar!classes2.dex) "

@Cannon99
Copy link

Cannon99 commented Oct 23, 2023

@TerraRome some fix? It happens only with android 6 and android 7.

@Cannon99
Copy link

Cannon99 commented Oct 24, 2023

@TerraRome, I have forked and adjusted that bugs and handled the library for android 6.0 and higher. I have ignored the cellId field, but the library worked for all android devices on my tests. Feel free to take a look.

https://github.com/Cannon99/carrier_info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants