Repository navigation
Update of build target to Android Nougat, with multiwindow - #1771
Conversation
|
@davivel, thanks for your PR! By analyzing the annotation information on this pull request, we identified @AndyScherzinger, @przybylski and @MMMarcy to be potential reviewers |
|
OK, license/cla test now passes because @GurpreetSK95 already signed in owncloud/android-library#126 . 👍 ; please, note I'm not approving my own code, I just rebased code by @GurpreetSK95 from #1744 . @jesmrec , this is basically a technical PR, but if maybe you want to test multi-window mode a big. Shouldn't be a big deal, I don't think it requires a test plan; it's a feature of the OS, besides, not of the app. |
|
@davivel this PR isn't working for travis! In order to get this working it needs to:
|
|
Thanks, @AndyScherzinger . I forgot to commit the update of the reference to the library, that's why appear v23 builds. Let's see if that's enough. What problems do you know about JACK in Travis? |
|
I never got that working (yet), for some reasons the builds keep failing. But lets see if it works now :) |
|
There it goes, our beloved workaround app... |
|
@AndyScherzinger , you were right, something is not working between Jack & Travis. Disabled Jack -> back to Java 7 |
|
Pushed a fix, let's see if travis is happy with it :) |
|
The idea is reduce dependencies -> get rid of android-23 |
|
@davivel I know, but when I was playing around with travis lately builds kept failing using the emulator with a v24 image... |
|
both builds are running. Let's see who wins 😉 |
|
:D |
|
You did it
stupid emulator... |
|
I missed updating the android-lib submodule... so my build broke due to the 24.0.0 build tool version from the old submodule link :( |
|
I'll try another push... |
|
Let's see. Anyway, the problem of the emulator is installing the APK. The tests in the library are working fine. Might be a timeout problem (something like http://stackoverflow.com/questions/32952413/gradle-commands-fail-on-api-23-google-api-emulator-image-armeabi-v7a). In that case, might be prevented installing without gradle. |
|
The timeout could be fixed like this I guess: googlemaps/android-maps-utils@807f515 |
|
Forget it, doesn't make sense. That job took just 31.429 secs to fail. Can't be that. We'll have to go with the android-23 emulator for the moment. |
|
@davivel build works 😃 |
|
OK, I'll have a look locally to the issue of the emulator. If I don't find out something in a while, let's just move on with this. 👍 for you, @AndyScherzinger :) |
|
I have checked the multiWindow in emulator and real device with Android N and works properly. The apk is also correctly built in this branch ;) Approved. |
0fe801f to
553d107
Compare
|
This should make the trick to work with emulator of Android 24. I think the problem is this other timeout: https://android.googlesource.com/platform/tools/base/+/master/ddmlib/src/main/java/com/android/ddmlib/Device.java#90 That is not configurable. Seems the |
|
@davivel |
|
Dammit. It worked perfectly in the test branch. I'll make a last try with |
553d107 to
fade8d2
Compare
|
Enough. It's not stable, and even when it works, the next test fails. Rolling back to your proposal. |
fade8d2 to
2ced0f9
Compare
|
Great. So, the source of the problem is not the version of the emulator itself. Probably the upgrade of gradle tools or the build tools. Thinking... |
b996b37 to
2ced0f9
Compare
|
Seems that |
|
Come on, rebase on master :S |
-made changes to .travis.yml
- changes to .travis.yml, updated buildTools and java versions
- added jdk: - oraclejdk8 to .travis.yml
8921710 to
5a4b212
Compare
|
Downside is now that the CI burns 25 minutes to do this :( |
|
Well, CI it's not supposed to be fast... but yes, I share the feeling. |
|
Disabling. |
|
@AndyScherzinger , are you fine with this? |
|
@davivel absolutely! 👍 |
|
Then all in. Thanks both @GurpreetSK95 and @AndyScherzinger for your work here. |
Replaces #1744, after rebase and update of reference to library