Reputation: 165
I am using phonegap, angularJs to create an android app. When i try to run the emulator i got message to resolve the error first.
Error :
(skipping file '.htaccess' due to ANDROID_AAPT_IGNORE pattern '.*')
/Users/admin/Documents/user_name/project_name/assets/www/js/angular- 1.0.6/docs/partials/api/ng.directive:a.html: error: Invalid filename. Unable to add.
THis is how i included angular and cordova :
<script type="text/javascript" src="cordova-2.7.0.js"></script>
<script type="text/javascript" src="js/angular-1.0.6/angular.min.js"></script>
Upvotes: 0
Views: 748
Reputation: 1375
the filename ng.directive:a.html
seems not to be allowed. Could you remove the :
from the name?
Also, you don't need a .htaccess
file inside your PhoneGap project.
You can remove it (the file is skipped, because as the error says, files starting with .
are ignored).
AngularJS should work with PhoneGap (I have also a PhoneGap app using AngularJS). :)
Upvotes: 1