Giter VIP home page Giter VIP logo

Comments (15)

pbakondy avatar pbakondy commented on August 17, 2024

from cordova-plugin-sim.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

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.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

Hey @pbakondy did you understood the issue..

from cordova-plugin-sim.

pbakondy avatar pbakondy commented on August 17, 2024

Did you install Android requirements?
https://github.com/pbakondy/cordova-plugin-sim#requirements

from cordova-plugin-sim.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

@pbakondy I have following support files of Android SDK installed
capture

from cordova-plugin-sim.

pbakondy avatar pbakondy commented on August 17, 2024

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.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

@pbakondy My Android SDK version is 6.0 (API 23)

Android Support Library 23.2.1

capture

from cordova-plugin-sim.

pbakondy avatar pbakondy commented on August 17, 2024

from cordova-plugin-sim.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

Yaa Sure... @pbakondy

from cordova-plugin-sim.

pbakondy avatar pbakondy commented on August 17, 2024

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.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

Should i run both the commands

from cordova-plugin-sim.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

Hey @pbakondy have some urgent work..
will try later and get back to you...

Thanks for your instant support....

from cordova-plugin-sim.

pbakondy avatar pbakondy commented on August 17, 2024

Yes, both commands
The first one removes the installed plugin from npm, the second one installs the latest code

from cordova-plugin-sim.

PremkumarAgrawal avatar PremkumarAgrawal commented on August 17, 2024

Hey @pbakondy I installed SIM plugin successfully, & its working finely. Thanks for your support..

from cordova-plugin-sim.

bkiruthiga avatar bkiruthiga commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.