I've just been checkout out 4.0.x branch of cordova-android, then running the script. I think the script requires that cordova-mobile-spec, cordova-android, and cordova-js all be sibling directories.
On Tue, Jan 6, 2015 at 7:58 PM, Joe Bowser <bows...@gmail.com> wrote: > I haven't been able to get mobile-spec working reliably since it was > refactored and we were forced to use the createmobilespec.sh script (i.e. > Tests don't run on Android 2.3) How did you manage to get it to work with > 4.0.x? > > On Tue Jan 06 2015 at 6:24:51 AM Andrew Grieve <agri...@chromium.org> > wrote: > > > I think you had it right. use cordova-mobile-spec@master and > > cordova-android@4.0.x. Failing tests are likely issues (in android or in > > the tests). Just fixed last night that the JS on 4.0.x was not properly > > registering with the CoreAndroid plugin due to it being renamed, so that > > could be the cause of the key event test failing. > > > > On Tue, Jan 6, 2015 at 3:47 AM, Fu, Junwei <junwei...@intel.com> wrote: > > > > > Hi, > > > > > > Because There are no cordova-mobile-spec 4.0 branch, so I used > > > cordova-mobile-spec master branch to test cordova-android 4.0, but the > > key > > > event test cases failed. And the splash screen test cases failed with > > > cordova-mobile-spec 3.6 branch, I don't know how to test the > > > cordova-android 4.0 by mobile spec. > > > > > > Thanks, > > > Junwei. > > > > > >