Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

Missing gradle stuff in the platform/android folder

$
0
0

@hosagot wrote:

Hi,

When I run the command ionic cordova emulate android command, i get the following error :

> cordova emulate android
ANDROID_HOME=~/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
Error: spawn EACCES

[ERROR] An error occurred while running cordova emulate android (exit code 1).

So I compared the platform/android folder with one of the projects that works and I notice it is missing .gradle, gradle, gradlew and gradlew.bat

Any idea as to why those are missing? If I copy those over, it works … but only on an emulator running Nougat.

I had an error

Error: Cannot read property 'replace' of undefined

When the emulator was running Oreo …

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>