Android Emulator don't show up (Linux Fedora 12 x86_64)

by yodaa » Thu, 15 Apr 2010 04:34:18 GMT


Sponsored Links
  hopefully found a workaround
see: http://forums.fedoraforum.org/showthread.php?p=1350997&posted=1#post1350997

That's weird but audio is involved is this issue, arguments must
passed in the run configuration to disable audio:

In Eclipse, "Run" > "Run Configuration" > "Android Application" > "my
android app" tab > "target tab > "Additionnal Emulator Command Line
Options" type "-no-audio" + "Apply"

Running the application is now a success:

[2010-04-14 22:16:36 - HelloDroid] Android Launch!
[2010-04-14 22:16:36 - HelloDroid] adb is running normally.
[2010-04-14 22:16:36 - HelloDroid] Performing
com.tests.HelloDroid.HelloDroid activity launch
[2010-04-14 22:16:36 - HelloDroid] Automatic Target Mode: launching
new emulator with compatible AVD 'FakePhone_2_1'
[2010-04-14 22:16:36 - HelloDroid] Launching a new emulator with
Virtual Device 'FakePhone_2_1'
[2010-04-14 22:16:37 - HelloDroid] New emulator found: emulator-5554
[2010-04-14 22:16:37 - HelloDroid] Waiting for HOME
('android.process.acore') to be launched...
[2010-04-14 22:17:32 - HelloDroid] WARNING: Application does not
specify an API level requirement!
[2010-04-14 22:17:32 - HelloDroid] Device API version is 7 (Android
2.1)
[2010-04-14 22:17:32 - HelloDroid] HOME is up on device
'emulator-5554'
[2010-04-14 22:17:32 - HelloDroid] Uploading HelloDroid.apk onto
device 'emulator-5554'
[2010-04-14 22:17:32 - HelloDroid] Installing HelloDroid.apk...
[2010-04-14 22:17:45 - HelloDroid] Success!
[2010-04-14 22:17:45 - HelloDroid] Starting activity
com.tests.HelloDroid.HelloDroid on device
[2010-04-14 22:17:58 - HelloDroid] ActivityManager: Starting: Intent
{ act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER]
cmp=com.tests.HelloDroid/.HelloDroid }


On 26 mar, 21:37, yodaa <yodaa...@gmail.com> wrote:

--



Android Emulator don't show up (Linux Fedora 12 x86_64)

by Indicator Veritatis » Sat, 17 Apr 2010 06:37:50 GMT


 ou should not have to disable audio to run the emulator.

I wish I could be sure my proposal would work for this problem, but I
don't: since it is a good idea anyway, I will go ahead and say you
should try removing pulse-audio from your Fedora installation, since
nobody uses it anymore anyway, yet it causes lots of weird problems.

I have a lot fewer audio problems ever since removing pulse about a
month ago. Unfortunately, I can't remember exactly how it is done: try
"yum info pulse-audio" as superuser to see if that gives you the exact
package name to remove. Then remove it with "yum remove <pacakge-
name>"

On Apr 14, 1:34pm, yodaa <yodaa...@gmail.com> wrote:

--


Sponsored Links


Android Emulator don't show up (Linux Fedora 12 x86_64)

by Mike Jones » Sun, 18 Apr 2010 00:11:57 GMT


 orry about the reporting, reading this on the train going to work and
my fat fingers hit it by mistake
:/ sorry about that

On Apr 17, 3:03am, Michael Cheselka <chese...@gmail.com> wrote:
> >>



Android Emulator don't show up (Linux Fedora 12 x86_64)

by Indicator Veritatis » Wed, 21 Apr 2010 06:54:43 GMT


  didn't have to follow that many steps to get it up and running. Yet
I am running under Fedora, too.

For example, 'yum' will allow wild-cards, so that where he ran many
yum commandlines, I needed only one. Nor do I remember having to
twiddle with permissions.

Then again, I am still running SDK v. 1.6. I never felt a compelling
need to jump to 2.1 when most phones are still running 1.5 or 1.6
binaries anyway. Until recently, it has been easier to find books and
websites documenting how to use SDK 1.6 anyway.

On Apr 17, 9:12am, Miguel Guirao <mgui...@gmail.com> wrote:
> > >>



Other Threads

1. SQLite Database Issues

Hi all,

I can see from some user's logs that my app randomly gets the
following SQLiteException:

android.database.sqlite.SQLiteException: no such table: DietTip: ,
while compiling: SELECT DISTINCT tip FROM DietTip
        at android.database.sqlite.SQLiteProgram.native_compile(Native
Method)
        at android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:
117)
        at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:
66)
        at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:
49)......

It also happens often in another table that tracks the user's
weight...

Does anyone know a particular reason for this to be happening? It
seems that it can't find the table or it can't compile the query. It
has never happened to me in any of my phones.

Thanks,
Alberto

--

2. TLS socket reuse hangs on device (works in emulator)

Hi all,

We're trying to reuse an existing plain socket with TLS for FTPES
purposes:
SSLSocket socket = (SSLSocket) ssf.createSocket(_socket_, ip, port,
true);
and it hangs on:
socket.startHandshake();
See full code snippet below.

This code works fine on emulator (Android 2.2) but it fails on
NexusOne device.
Creating a TLS socket from scratch (without reuse) works perfect on
both.

What could be the problem?

Code snippet:
        plainSocket = _socket_; // plain socket works fine.
        initSslContext(); // No problem here
        SSLSocketFactory ssf = context.getSocketFactory();
        String ip = _socket_.getInetAddress().getHostAddress();
        int port = _socket_.getPort();
        SSLSocket socket = (SSLSocket) ssf.createSocket(_socket_, ip,
port, true);
        socket.setEnableSessionCreation(true);
        socket.setUseClientMode(true);
        if (protocols != null) socket.setEnabledProtocols(protocols);
        if (suites != null) socket.setEnabledCipherSuites(suites);
        socket.startHandshake(); // Hangs here

Cheers.

-- 

3. android developer tablet?

4. Legal questions - protecting apps from being redistributed

5. HTTP parameter question

6. Give out cell phone number to strangers

7. public static variables being reset across same package in different classes in the framework