Comments (15)
from cordova-plugin-sim.
After hitting ionic run android
I am getting following response on command prompt,
`F:\A_LHS_Projects\DynamicApp\DA_Code\DynamicApp_V2\platforms\android\src\com\pbakondy\Sim.java:233: error: cannot find symbol
ContextCompat.checkSelfPermission(this.cordova.getActivity(), type));
^
symbol: method checkSelfPermission(Activity,String)
location: class ContextCompat
Note: Some input files use or override a deprecated API.
FAILED
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 13.068 secs
Error: Error code 1 for command: cmd with args: /s,/c,"F:\A_LHS_Projects\DynamicApp\DA_Code\DynamicApp_V2\platforms\android\gradlew cdvBuildDebug -b F:\A_LHS_Projects\DynamicApp\DA_Code\DynamicApp_V2\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
F:\A_LHS_Projects\DynamicApp\DA_Code\DynamicApp_V2>`
from cordova-plugin-sim.
Hey @pbakondy did you understood the issue..
from cordova-plugin-sim.
Did you install Android requirements?
https://github.com/pbakondy/cordova-plugin-sim#requirements
from cordova-plugin-sim.
@pbakondy I have following support files of Android SDK installed
from cordova-plugin-sim.
What is the version of Android Support Library?
Please run Android SDK Manager
and install latest packages.
Which SDK are you using?
from cordova-plugin-sim.
@pbakondy My Android SDK version is 6.0 (API 23)
Android Support Library 23.2.1
from cordova-plugin-sim.
from cordova-plugin-sim.
Yaa Sure... @pbakondy
from cordova-plugin-sim.
Please try install the latest:
cordova plugin rm cordova-plugin-sim
cordova plugin add https://github.com/pbakondy/cordova-plugin-sim.git
from cordova-plugin-sim.
Should i run both the commands
from cordova-plugin-sim.
Hey @pbakondy have some urgent work..
will try later and get back to you...
Thanks for your instant support....
from cordova-plugin-sim.
Yes, both commands
The first one removes the installed plugin from npm, the second one installs the latest code
from cordova-plugin-sim.
Hey @pbakondy I installed SIM plugin successfully, & its working finely. Thanks for your support..
from cordova-plugin-sim.
Hi. what changes have you made in the code. I am facing the same issue.. please mention the changes, it will be useful for me.
Thanks in advance
from cordova-plugin-sim.
Related Issues (20)
- Note: iOS 16.4 depreciation CTCarrier (does not work after)
- Get Undefined
- Support for Android Permission Rationale Description?
- Support for Windows UWP planned?
- phonenumber is getting nulll HOT 2
- Judge whether there is a SIM card? HOT 1
- Cordova Not Available when getting SIM info HOT 2
- Dual sim IMEI
- in iPhone is required to include a permission on config.xml? HOT 1
- plugin not working, reported not installed under iOS
- ERROR Error: Uncaught (in promise): TypeError: Object(...) is not a function TypeError: Object(...) is not a function at Sim.getSimInfo HOT 1
- ionic native sim plugin iOS side not working HOT 1
- app can't access imei in android 10. HOT 4
- Phone Number returns empty string HOT 2
- unable to fetch IMEI number on android 10 HOT 5
- Plugin not working on iOS
- The user 10412 does not meet the requirements to access device identifiers. HOT 5
- Empty phoneNumber string HOT 1
- Error when trying to get sim info on new Android device HOT 1
- This plugin has a maintained repo now - please use and follow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-sim.