Open leosimas opened 10 years ago
Hi @leosimas, can you please share the section of your gruntfile respecting to this?
It's the Gruntfile.coffee from the Hello World, project.
module.exports = (grunt) ->
grunt.initConfig pkg: grunt.file.readJSON 'package.json'
phonegap:
config:
debuggable: true
plugins: []
platforms: ['android']
I just gave up using it. Now I'm using a javascript gruntfile in another project and it's working.
@leosimas could you leave a copy of the config that's working for you?
I'm running into a similar problem with the "hello world" app. It fails to move two files in the "post build" step. Not sure if that's causing the issue or not.
-post-build:
>> [move] Warning: Could not find file /Users/jon/Projects/myapp/build/platforms/android/ant-build/AndroidManifest.xml to copy.
>> [move] Warning: Could not find file /Users/jon/Projects/myapp/build/platforms/android/CordovaLib/ant-build/AndroidManifest.xml to copy.
Sorry, @jonknapp. I quit using grunt-phonegap because of its limitations. I'm using some "hooks" and some shell scripts to help building the project I'm working on.
I'm trying to activate the debuggable flag using the "hello world" project. Even with the debuggable set to true in the Gruntfile.coffee.
The generated AndroidManifest.xml is always with debuggable="false"
I tried the comands: $ grunt phonegap:run:android $ grunt phonegap:debug:android
They didn't work.
I have to manually go to the directory: build\platforms\android Change the AndroidManifest.xml to set it true And run the "phonegap run android" in the build directory