Laurent Sansonetti
e6eebaa672
sync
2014-08-14 19:38:00 -04:00
Laurent Sansonetti
70224dc851
make sure we use 'adb -d' since an emulator could be running at the same time
2014-08-14 18:22:26 -04:00
Watson
7915d3c9fb
[NEWS] fix RM-556
2014-08-15 00:57:06 +09:00
Watson
29a18eb3e2
[NEWS] fix RM-553
2014-08-13 20:04:34 +09:00
Watson
c794a3ee45
add validation into app.vendor_project('xxx', :xcode, ...) because xcodebuild command fails if xcode project directory is not writable
2014-08-13 20:00:50 +09:00
Watson
3d1e080c25
fix a bug where vendor library contained in gem causes a build error with system bundled ruby
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-553
2014-08-13 19:11:26 +09:00
Watson
c4749f9a58
[NEWS] fix RM-555
2014-08-12 22:32:40 +09:00
Watson
2c0f79b65a
[NEWS] fix RM-554
2014-08-12 14:43:17 +09:00
Watson
ae27ef7ba0
[NEWS] fix RM-475
2014-08-11 21:51:38 +09:00
Laurent Sansonetti
97ed6ca4a7
list devices we know are supported
2014-08-09 23:03:47 +02:00
Laurent Sansonetti
685598ec67
all android API levels are now supported
2014-08-09 23:02:43 +02:00
Laurent Sansonetti
98b05acb90
mention java 1.7 support
2014-08-09 23:02:25 +02:00
Laurent Sansonetti
e22d6ed70f
sync
2014-08-09 21:24:46 +02:00
Laurent Sansonetti
8f5c3dce69
before installing an app, verify that the usb-connected device runs an API version higher or equal to the app's one
2014-08-09 21:23:24 +02:00
Laurent Sansonetti
af9a7d0f29
sync
2014-08-09 18:00:39 +02:00
Laurent Sansonetti
06df7b7644
credits
2014-08-09 12:35:56 +02:00
Laurent Sansonetti
8c8206be1b
sync
2014-08-09 12:34:38 +02:00
Laurent Sansonetti
49cf996453
support all versions of android
2014-08-09 12:31:48 +02:00
Laurent Sansonetti
b4cb35616e
fail with a proper error message in case the NDK does not support the API level we want; lower the API level in the NDK when needed (ex. 10 and 11 should use 9 since NDK does not support these)
2014-08-09 12:30:02 +02:00
Laurent Sansonetti
f27d56f00a
mention that older androids have different steps to enable developer mode
2014-08-09 11:47:28 +02:00
Laurent Sansonetti
ee55fdf9f1
add NEWS file for pre-release
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
f13425acc9
Fixed detection of the build tools directory. In some installations of the NDK, the directory can be a version number (ex. '20.0.0').
...
Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
3fe0821c88
Remove configChanges from the manifest.
...
Gives problems in older versions and also Google recommends using it as a last resort
"Using this attribute should be avoided and used only as a last resort."
http://developer.android.com/guide/topics/manifest/activity-element.html
Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
ee36b4b967
Use System.loadLibrary() to load the payload. This is what JNI sample apps use.
...
Line 64:
https://android.googlesource.com/platform/development/+/android-4.4.4_r2/ndk/samples/hello-jni/src/com/example/hellojni/HelloJni.java
This makes RubyMotion work on older Android versions (such as API 8).
Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
39c8890c08
JDK 7 requires explicitly setting this. Should work in JDK 6 too.
...
"Caution: As of JDK 7, the default signing algorithim has changed, requiring you to specify the signature and digest algorithims (-sigalg and -digestalg) when you sign an APK."
Google Cache:
http://webcache.googleusercontent.com/search?q=cache:OjyaP-Zoz-MJ:developer.android.com/tools/publishing/app-signing.html+&cd=1&hl=es&ct=clnk&client=safari
(Patch by Mark Villacampa)
2014-08-09 11:26:44 +02:00
Watson
c37943bd40
sync
2014-08-09 11:32:57 +09:00
Laurent Sansonetti
afc8381d54
better zipalign detection with a fallback on tools/zipalign (old SDKs)
2014-08-08 23:29:05 +02:00
Watson
0d1abd53e9
[NEWS] Improved Object#method_missing performance. ~8 times faster
2014-08-09 05:03:26 +09:00
Laurent Sansonetti
e725e4d0c3
add support for Android level 8 (2.2.2)
2014-08-08 19:07:05 +02:00
Laurent Sansonetti
07b885f9d7
add android beta notes file
2014-08-08 18:52:06 +02:00
Laurent Sansonetti
c4e7ba6919
better detection of default API version
2014-08-08 17:32:47 +02:00
Laurent Sansonetti
ab466d9cee
remove zipalign_path variable (it's best if it's not exposed to the user)
2014-08-08 17:00:01 +02:00
Watson
9ff1dab9eb
fix zipalign path
2014-08-08 23:11:54 +09:00
Laurent Sansonetti
35ca278def
better detection of Android versions
2014-08-08 13:53:15 +02:00
Laurent Sansonetti
3f25fd2f89
retrieve values for app.sdk_path and app.ndk_path from the respective RUBYMOTION_ANDROID_SDK and RUBYMOTION_ANDROID_NDK environment variables
2014-08-07 16:09:08 +02:00
Watson
d15179963b
sync
2014-08-07 11:35:49 +09:00
Watson
9dfc63b3aa
[NEWS] Improved Module#define_method performance
2014-08-07 11:34:16 +09:00
Eloy Durán
facf63d024
[osx] Merge all Info.plist data in one place and ensure there's always a principal class.
2014-08-06 11:29:22 +02:00
Watson
0f0066bde7
[NEWS] fix RM-540
2014-08-06 17:40:29 +09:00
Watson
dd05cc82c3
[test] add spec for RM-540
2014-08-06 17:34:24 +09:00
Eloy Durán
06a3121d96
Revert "[test] On iOS, also set the target env var to the deployment target."
...
This reverts commit 82f38e3606 .
2014-08-05 16:05:15 +02:00
Eloy Durán
a5b7ec5dd0
[NEWS] Document fix for http://hipbyte.myjetbrains.com/youtrack/issue/RM-539 .
2014-08-05 14:41:27 +02:00
Eloy Durán
82f38e3606
[test] On iOS, also set the target env var to the deployment target.
2014-08-05 14:41:27 +02:00
Eloy Durán
51538c0ac7
[osx] Allow the user to configure a NSApplication subclass and use that instead.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-539
2014-08-05 14:41:27 +02:00
Laurent Sansonetti
8f2f9109d6
detect android L at build time
2014-08-05 12:12:01 +02:00
Watson
ffe141cb8b
Xcode6-Beta5
2014-08-05 10:02:01 +09:00
Eloy Durán
e7d1da2841
[test] Add failing test case for RM-539.
2014-08-04 17:56:28 +02:00
Watson
73430594d8
[NEWS] Reduced the app boot time
2014-08-04 22:57:00 +09:00
Watson
ed5521ad56
[android] fix an error which /usr/bin/keytool causes if '~/.android' is not existed
...
This should fix the following error
/usr/bin/keytool -genkeypair -alias androiddebugkey -keypass android -keystore "/Users/watson/.android/debug.keystore" -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=ja_JP.UTF-8
keytool エラー: java.io.FileNotFoundException: /Users/watson/.android/debug.keystore (No such file or directory)
2014-08-01 12:40:14 +09:00
Watson
79bf6a146e
[NEWS] fix RM-538
2014-08-01 11:12:49 +09:00