Chris Brody
8586d4a7ba
Resolve issue with plugin target-dir="app*" subdirs ( #572 )
...
(subdirectories) such as "appco", with unit tests to verify
Needed for @katzer plugins that use de/appplant subdirectory,
for example:
* cordova-plugin-local-notifications
* cordova-plugin-badge
* cordova-plugin-background-mode
Also needed for cordova-plugin-inappbrowser
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Julio César <jcesarmobile@gmail.com>
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
2018-11-22 10:01:27 -05:00
Christopher J. Brody
9848aa885f
GH-547 Fix for old plugins with non-Java sources (PR #550 )
...
(source-file entries)
including aidl, aar, jar, and so files
2018-11-16 13:22:43 -05:00
Christopher J. Brody
298f1e3cc8
Fix comments in getInstallDestination (PR #550 )
...
(in pluginHandlers.js)
2018-11-16 13:22:43 -05:00
Christopher J. Brody
07e1fe18ff
Cleanup getInstallDestination in pluginHandlers.js (PR #550 )
2018-11-16 13:22:43 -05:00
Christopher J. Brody
717d768cec
GH-540 fix for source-file with app target-dir (PR #542 )
2018-11-16 13:22:42 -05:00
Christopher J. Brody
4d151d3057
GH-539 fix destination path fallback (PR #542 )
...
Fallback to old path mapping if no Android Studio path mapping exists
(with slight difference on 7.1.x branch)
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Kyle Kirbatski <kkirbatski@gmrmarketing.com>
2018-11-16 13:22:42 -05:00
Rizal M. S
750531c4bc
CB-14165 Emulator: handle "device still connecting" error ( #457 )
...
Keep waiting for emulator when connection fails with "device still connecting" error
2018-08-02 13:18:25 -04:00
Julio César
8a69e32800
CB-14125:(android) Increase old plugin compatibility
2018-08-02 13:18:25 -04:00
Joe Bowser
ea6477f4d3
CB-13830: Add handlers for plugins that use non-Java source files, such as Camera
2018-08-02 13:18:25 -04:00
Julio César
e32bcd88aa
CB-14038 (android): fix false positive detecting project type
2018-08-02 13:18:25 -04:00
Gearoid M
c26082d362
Fix unsafe property access in run.js ( #445 )
2018-07-11 08:57:13 -04:00
Raphael von der Grün
9f33b0bb71
Emit log event instead of logging directly ( #452 )
...
in builder scripts
2018-07-11 08:57:13 -04:00
Raphael von der Grün
3570ca8113
CB-14101 Fix Java version check for Java >= 9 ( #446 )
...
This also checks that we have exactly 1.8 since nothing else works with
the Android SDK. The user facing error was updated accordingly.
2018-07-11 08:57:13 -04:00
Julio César
a1bd9e7d73
CB-14127: (android) Move google maven repo ahead of jcenter
2018-07-11 08:57:13 -04:00
sunday18
8563c8beef
Update android_sdk.js
...
Update `android_sdk.js` to support Android Oreo (API 26) emulator
2018-01-26 06:21:53 +00:00
Joe Bowser
3a6923988d
CB-13646: End of an era. Using the deprecated NDK by default breaks the build. Crosswalk users need to specify the Gradle parameters to keep it working.
2018-01-08 14:52:46 -08:00
Chris Alfano
109112ae75
CB-13571: (android) Prevent crash with unrecognized android version
...
Fixes issue where commands that list images will crash when an image with a version not present in `android-versions` is encountered, as is presently the case with API 27:
```
cordova run android --list
Available android devices:
Available android virtual devices:
LEVEL: null
ERROR: TypeError: Cannot read property 'semver' of null
An unexpected error has occured while running list-emulator-images with code 2: Error: /home/chris/Repositories/acp-guidelines/cordova/platforms/android/cordova/lib/list-emulator-images: Command failed with exit code 2
```
Signed-off-by: Chris Alfano <chris@jarv.us>
2017-12-22 15:56:26 -05:00
Joe Bowser
adc7dab377
CB-13612: eslint fix
2017-11-28 13:09:07 -08:00
Joe Bowser
a9e01f4309
CB-13612: Fix the remapper so that XML files copy over and the Camera works again.
2017-11-28 12:57:00 -08:00
Joe Bowser
9d9bac397b
CB-13602: We were setting the path wrong, this is hacky but it works
2017-11-22 13:18:38 -08:00
Joe Bowser
d8f10c33dc
CB-13601: Fixing lint error and mis-spelling of variable
2017-11-22 11:47:05 -08:00
Joe Bowser
5d57eff612
CB-13601: Fixing the standalone run scripts to make sure this works without using the CLI
2017-11-22 11:39:40 -08:00
Joe Bowser
43956c1bc8
Merge branch 'master' into StudioProjectCompat
...
Fixing conflict caused by merging #417 into master
2017-11-20 18:21:49 -08:00
David Strauß
5d99e50c4a
CB-13580: (android) fix lint errors
2017-11-16 01:54:04 +01:00
David Strauß
aaeb630eb1
CB-13580: fix build for multiple apks (different product flavors)
2017-11-16 01:27:20 +01:00
Joe Bowser
b77febc7a7
Merge branch 'master' into StudioProjectCompat
2017-11-07 10:52:37 -08:00
Joe Bowser
b83c3b3684
CB-13530: Removing debug console.logs
2017-11-02 14:45:51 -07:00
Joe Bowser
5502ddaf0d
CB-13530: This fixes the basic APK installation
2017-11-02 14:42:39 -07:00
Joe Bowser
f54336eb61
eslint fix
2017-11-01 17:18:41 -07:00
Joe Bowser
18d6884522
CB-11244: Android Studio 3 work, things have changed with how the platform is built
2017-11-01 17:09:00 -07:00
Joe Bowser
8ba0109e55
Completing merge which includes the fix for Android Studio 3.0
2017-11-01 13:46:23 -07:00
Joe Bowser
f50ca85a95
CB-11244: Found bug where the gradle subproject changes weren't actually getting written to the correct gradle file
2017-11-01 13:22:22 -07:00
Joe Bowser
39e6765e64
Merge pull request #413 from infil00p/StudioThreeFix
...
CB-13289: This fixes the Cordova-Android build on cordova-android 6.x
2017-11-01 10:26:53 -07:00
Joe Bowser
a2618dcde5
CB-13289: eslint fix
2017-10-30 13:17:18 -07:00
Joe Bowser
9fdb126715
CB-13289: Fixing build problems with Studio Three, but keeping Windows Gradle fix for now, will be deprecated
2017-10-30 10:39:59 -07:00
Jan Piotrowski
04fa5d3feb
CB-13499: Remove duplicate "setting" in error strings
2017-10-26 22:28:38 +02:00
Joe Bowser
6cf6e20d2e
Merge branch 'master' into StudioProjectCompat, fixing conflicts, need
...
to re-add previous PR fix on the branch
2017-10-18 11:04:44 -07:00
filmaj
1f12fdbeea
CB-13404: add android-versions to bundledDependencies. Ignore best emulator selection when parsed AVD information does not include API level in the target
2017-10-05 15:17:31 -05:00
Joe Bowser
8743e88550
CB-11244: Fixing eslint errors
2017-10-03 15:06:54 -07:00
Joe Bowser
f3c238db1c
CB-11244: Adding specs for resource files inside an Android Studio Project
2017-10-03 14:16:27 -07:00
Joe Bowser
2534a3c767
CB-11244: Added remapping for drawables
2017-10-02 19:04:40 -07:00
Joe Bowser
b1f527e682
Merge branch 'master' into StudioProjectCompat
2017-09-28 10:21:49 -07:00
Joe Bowser
7d282426c4
Merge branch 'master' into StudioProjectCompat
...
Another merge commit to track master changes
2017-09-14 11:45:57 -07:00
filmaj
1637937664
CB-12981: handle SDK 26.0.2 slightly different AVD list output for Android 8+ AVDs. Would cause "cannot read property replace of undefined" errors when trying to deploy an Android 8 emulator.
2017-09-14 11:26:18 -07:00
filmaj
03144eb160
Add a node and npm package.json script for running java unit tests. Include them in the top-level npm test
script. Run java unit tests in travis. Small refactor in gradlebuilder to support building gradle wrapper more easily. Don't explicitly build gradlew on appveyor CI as now npm test
will do it for you.
2017-09-14 09:57:37 -07:00
Gil Pedersen
cb2f396e33
Update maven repo to include most recent lib versions
2017-08-29 17:27:02 +02:00
Joe Bowser
8fdb16c555
Fixing cordova-cli related bug
2017-08-04 12:00:39 -07:00
Joe Bowser
e91b19d006
Fixing error caused by merge commit
2017-07-31 14:10:14 -07:00
Joe Bowser
46905ebe99
Merge branch 'master' into StudioProjectCompat. Dealing with latest
...
commits merged into master.
2017-07-31 13:43:21 -07:00
Nikita Matrosov
2b53c98cf5
CB-12453: Remove unnecessary double quotes from .bat files which are the causes of crash if project path contains spaces
...
this closes #362
2017-07-28 14:23:53 +03:00