<p dir="ltr"><br>
Oh, man. [Lets out a long, low moan].</p>
<p dir="ltr">Turns out all I had to do was think about what I was trying to do... And then it came to me: I was trying to install onto the Nexus 7 while logged in as me, as opposed to the "owner" of the device (who just happens to be my wife). When I install E4A as the owner, everything works a treat. I can even run the shell when logged in as me.</p>
<p dir="ltr">Now all I have to do is stop feeling so foolish. :-(</p>
<p dir="ltr">Paul.</p>
<p dir="ltr">--<br>
Paul Barry<br>
Lecturer, IT Carlow, Ireland<br>
<a href="mailto:paul.barry@itcarlow.ie">paul.barry@itcarlow.ie</a> - <a href="http://paulbarry.itcarlow.ie">http://paulbarry.itcarlow.ie</a></p>
<div class="gmail_quote">On 28 Mar 2013 16:50, "Paul Barry" <<a href="mailto:paul.james.barry@gmail.com">paul.james.barry@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hi Erik.</p>
<p dir="ltr">Thanks for your reply.</p>
<p dir="ltr">When I try to run the Erlang shell from the sl4a menu, I get the same error: Erlang/OTP exited.</p>
<p dir="ltr">I downloaded a file manager to take a look around the filesystem.... The com.ernovation.erlangforandroid folder does not live in /data/data/, but in /storage/emulated/11/, and it contains only a single file: the ZIP of the Erlang download. This is in spite of the installer telling me that the downloaded file was extracted. When I manually unzip it, it makes no difference... I get the same error message. Also I can't manually run "erl" as the exec-bit is not set. :-(</p>
<p dir="ltr">Not sure what to try next, but I really don't want to root this thing (my kids would kill me for wiping their data).</p>
<p dir="ltr">Any suggestions?</p>
<p dir="ltr">Paul.<br>
--<br>
Paul Barry<br>
Lecturer, IT Carlow, Ireland<br>
<a href="mailto:paul.barry@itcarlow.ie" target="_blank">paul.barry@itcarlow.ie</a> - <a href="http://paulbarry.itcarlow.ie" target="_blank">http://paulbarry.itcarlow.ie</a></p>
<div class="gmail_quote">On 24 Mar 2013 18:56, "Erik Reitsma" <<a href="mailto:erlang@ernovation.com" target="_blank">erlang@ernovation.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Paul,<br>
<br>
E4A does not require you to root the device. I use it on a
non-rooted device myself, but not on a Nexus.<br>
Have you tried starting an interactive Erlang shell from SL4A? E4A
is not intended to be started from outside SL4A, however, you can
start E4A from the shell: <br>
<tt><br>
</tt><tt>/data/data/com.ernovation.erlangforandroid/files/erlang/bin/erl</tt><br>
<br>
If you start E4A like that, you cannot use the SL4A APIs.<br>
<br>
*Erik.<br>
<br>
On 03/23/2013 02:46 PM, Paul Barry wrote:<br>
</div>
<blockquote type="cite">
<p>Thanks, John. I recall reading somewhere that E4A doesn't
require me to root the device.... But, your email has given me
hope as well as a few pointers to explore.</p>
<p>Paul.</p>
<div class="gmail_quote">On Mar 23, 2013 1:09 PM, "John Kemp" <<a href="mailto:john@jkemp.net" target="_blank">john@jkemp.net</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Paul,<br>
<br>
I am running Erlang4Android on a Nexus 7, and it works fine. I
followed exactly the instructions for installing on the
device. Are you running E4A from a BusyBox or over ADB shell?
Have you 'rooted' the Nexus 7? E4A doesn't require that AFAIK,
but it might make a difference (BusyBox install did require
it).<br>
<br>
JohnK<br>
<br>
On Mar 23, 2013, at 4:06 AM, Paul Barry wrote:<br>
<br>
> Hi all.<br>
><br>
> I've been playing with one of the new Nexus 7" tablets
and I have sl4a installed and running fine (with Python).
However, when I install the Erlang4android stuff from <a href="http://code.google.com" target="_blank">code.google.com</a>, I get an "exited"
console message whenever I try to run anything (e.g.,
client.erl from the example).<br>
><br>
> I can see from other messages on this list that others
have got this working on other devices... But has anybody
tried it on a Nexus, and if you did, how did you get on?<br>
><br>
> Thanks,<br>
><br>
> Paul.<br>
><br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
erlang-questions mailing list
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div>
</blockquote></div>