android


how to fix “Failed to install 'cordova-plugin-console':Error ”


I am trying to make apk file.
I have android studio with sdk installed and jdk.
But when i try to add android package to my ionic folder. I get this error
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 24].
Before building your project, you need to accept the license agreements and comp
lete the installation of the missing components using the Android Studio SDK Man
ager.
Alternatively, to learn how to transfer the license agreements from one workstat
ion to another, go to http://d.android.com/r/studio-ui/export-licenses.html
* 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: 44.28 secs
Failed to install 'cordova-plugin-console':Error: cmd: Command failed with exit
code 1
at ChildProcess.whenDone (C:\ionic\lcalc\platforms\android\cordova\node_modu
les\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Error: cmd: Command failed with exit code 1
Help :(
The CLI prints the exact reason for the build failure. Notice the lines as :
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 24].
So Open your SDK Manager ( you might need to open as administrator if you are not an admin)
Install the required SDK version. Look at the attached image
Install platform 24 in your sdk.
or
Try removing the plugin.
cordova plugin rm cordova-plugin-console

Related Links

Droid Naskh font and Arabic number 4
android webview automatic send enter key on google site
What method within view is notified when view is displayed on ui
Logout from an application
Android: Load a lot of information asynchronous
Adding a View inside a ScrollView programmatically
How do I dynamically update a fragment in a FragmentPagerAdapter
Overflow icon is not changing in actionbarsherlock?
get resource from a fragment
In Android Transfuse, how to pass Intent back with startActivityForResult and onActivityResult
Textview onclicklistener with links
Updating multiple instances of App Widget in Android
connect a hybrid android app with a web app j2ee
Loading dynamic imageviews in loop in Android creating gaps
Where can I find android-v7 support library jar
Centering ProgressBar Programmatically in Android

Categories

HOME
shell
url-redirection
asp.net-web-api
cheerio
ggplot2
webdriver
zend-framework
swt
fftw
alarm
edge
static-site
cublas
nsbundle
emscripten
interpolation
jax-ws
banner
syntaxnet
g++
jquery-ui-sortable
openpyxl
gson
zerobrane
gource
symbol
libusb
atlassian-stash
dimensional-modeling
sse
bourbon
libigl
php-mysqlidb
displaytag
windows-server-2003
maze
amazon-quicksight
progress-bar
failover
sqlpackage
magento-1.8
quickfixj
mailkit
dm-script
diacritics
spring-mvc-test
hackintosh
visa
portforwarding
facebook-social-plugins
pom.xml
openresty
clarifai
hammer.js
twilio-click-to-call
reindex
mouseleave
offline.js
gameplay-kit
shinobi
polyline
stripe-connect
lrs
dimension
firebase-security
nservicebus5
bizagi
data-protection
thread-sleep
qbxml
crouton-os
rate-limiting
sapscript
doctype
kubuntu
fits
code-documentation
showdialog
filesplitting
browserify-shim
teaspoon
rickshaw
ignite-ui
live555
wxformbuilder
accesscontrolexception
workitem
argouml
idn
midlet
pyunit
android-holo-everywhere
xcelsius
tournament
pylucene
rmdir
tmx
socketserver
cloudfiles
commerceserver2007
office-2007
flvplayback
pbcopy
pnrp

Resources

Encrypt Message