I used only ant to build apk, never tried android studio, eclipse or other
gui tool.

I had no problem in using ant last time I tired, I'll check again.

On Sat, Aug 11, 2018, 2:27 AM David Mitchell <davidmitch...@att.net> wrote:

> I tried the jandroid process.   It initially failed with
> tools/ant/build.xml not
> found.  This seems to be expected:
>
>
> https://stackoverflow.com/questions/42912824/the-ant-folder-is-suddenly-missing-from-android-sdk-did-google-remove-it
>
> Android team has decided to remove all old and obsolete scripts from SDK
> in
> march release of 25.3.0 SDK Tools
>
> Changes:
>
>      Obsolete/deprecated tools have been removed:
>          android
>          ddms (instead see Using DDMS)
>          draw9patch (instead see Draw 9-patch)
>          hierarchyviewer (instead see Profile Your Layout with Hierarchy
> Viewer)
>          traceview (instead see Profiling with Traceview and dmtracedump)
>          ant scripts
>          Project and activity template
>
> I tried he work-around (install tools/ant/build.xml from an older tools
> release), which failed:
>
> ant release && ./deploy.sh
> Buildfile: /home/me/Downloads/Android/jandroid-master/build.xml
>    [taskdef] Could not load definitions from resource anttasks.properties.
> It
> could not be found.
>    [taskdef] Could not load definitions from resource emma_ant.properties.
> It
> could not be found.
>
> Poking on the web, it looks as if ant is not well supported any more and
> folks
> are migrating to gradle (or Android Studio).
>
> Does this look like the best approach?
>
> Thanks,
> David Mitchell
>
>
> On 8/10/2018 10:14, David Mitchell wrote:
> > Bill,
> >
> > Thanks for the nudge.  My old eyes missed the separate git repository
> for jandroid.
> >
> > All the best,
> > David Mitchell
> >
> > On 8/10/2018 09:56, bill lam wrote:
> >> build.xml should already been there, just
> >> ant release
> >> should build the unsigned apk
> >>
> >> On Fri, Aug 10, 2018, 9:49 PM David Mitchell <davidmitch...@att.net>
> wrote:
> >>
> >>> It looks like the only place libjpcre.so is used is in jd.  But, jd
> looks
> >>> like
> >>> it won't run on the 32 bit default Android distribution.
> >>>
> >>> So, for now, I'll ignore pcre and move on to creating an apk.  Does
> anyone
> >>> have
> >>> any suggestions for creating a J Android apk from the binaries created
> by
> >>> ndk-build?  It looks like the choices are to use Android Studio, using
> >>> gradlew
> >>> or using ant with some sort of build.xml.
> >>>
> >>> Unless there is a build.xml hiding somewhere, all of these look like
> they
> >>> would
> >>> require reverse-engineering the current distribution J Android APK.
> >>>
> >>> Thanks,
> >>> David Mitchell
> >>>
> >>> On 8/9/2018 09:48, David Mitchell wrote:
> >>>> I used that Android.mk for pcre2.  The Android build references both
> >>> pcre and
> >>>> pcre2:
> >>>>
> >>>> 1. make a symlink in jni folder
> >>>>
> >>>> $ cd jni
> >>>> $ ln -sf ../../jsrc .
> >>>> $ ln -sf ../../hostdefs.
> >>>> $ ln -sf ../../netdefs .
> >>>> $ ln -sf ../../../../src/pcre .
> >>>> $ ln -sf ../../../../src/pcre2 .
> >>>> $ cd ..
> >>>>
> >>>> 2. build using ndk in the current folder
> >>>>
> >>>> $ ndk-build
> >>>>
> >>>> I tried using the same Android.mk with pcre, but it did not work well.
> >>>>
> >>>> Thanks,
> >>>> David Mitchell
> >>>>
> >>>> On 8/9/2018 08:51, chris burke wrote:
> >>>>> https://github.com/jsoftware/base8/blob/master/regex/make/Android.mk
> >>>>>
> >>>>> On Thu, Aug 9, 2018 at 2:17 AM David Mitchell <davidmitch...@att.net
> >
> >>> wrote:
> >>>>>
> >>>>>> I have almost gotten this to build.  The last step I have is finding
> >>>>>> Android.mk
> >>>>>> for pcre.
> >>>>>>
> >>>>>> Any help would be appreciated.
> >>>>>>
> >>>>>> Thanks,
> >>>>>> David Mitchell
> >>>>>>
> ----------------------------------------------------------------------
> >>>>>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >>>>>
> ----------------------------------------------------------------------
> >>>>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >>>>>
> >>>> ----------------------------------------------------------------------
> >>>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >>> ----------------------------------------------------------------------
> >>> For information about J forums see http://www.jsoftware.com/forums.htm
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to