Keeps asking me to install the TTS

24 views
Skip to first unread message

blindfold

unread,
Dec 18, 2008, 4:07:55 PM12/18/08
to TTS-for-Android
Hi Charles,

I cannot get it working. I followed your tutorial, downloaded the stub
and added a Java Build Path for it, and yet my app keeps asking me to
install the TTS when I launch my app on a Dev Phone 1. Compilation
goes fine. What might I be doing wrong?

12-18 20:19:07.853: WARN/System.err(334):
android.content.pm.PackageManager$NameNotFoundException: Application
package com.google.tts not found

Is there some firmware component missing on the Dev Phone 1 or
something?

Thanks,

Peter Meijer

blindfold

unread,
Dec 18, 2008, 4:12:13 PM12/18/08
to TTS-for-Android
I should add that the TTS library installation went fine, and as a
result there is a bunch of files on my Dev Phone 1's SD card in an
espeak-data folder. So although the TTS library is installed, the app
that uses it triggers something that asks me to install again, and
again, ...

Thanks

Charles Chen

unread,
Dec 18, 2008, 4:12:17 PM12/18/08
to tts-for...@googlegroups.com
Did you install the TTS on the phone?
Also, if you downloaded the preview library stub, then you need to also use the preview tts apk - if you don't have a matching version, you could get that message because things are missing.

-Charles

blindfold

unread,
Dec 18, 2008, 4:15:09 PM12/18/08
to TTS-for-Android
Thanks Charles - messages crossed in mid-air. :-)

Yes, I installed on the phone. I installed the stub from

http://eyes-free.googlecode.com/svn/trunk/commonlibs/TTS_library_stub.jar

didn't use any "preview" variants yet.


On Dec 18, 10:12 pm, Charles Chen <clc...@google.com> wrote:
> Did you install the TTS on the phone?
> Also, if you downloaded the preview library stub, then you need to also use
> the preview tts apk - if you don't have a matching version, you could get
> that message because things are missing.
>
> -Charles
>

blindfold

unread,
Dec 18, 2008, 4:22:24 PM12/18/08
to TTS-for-Android
Might it be a signed versus unsigned issue? I run my app unsigned on
the dev phone 1, and maybe that does not match the TTS?

On Dec 18, 10:15 pm, blindfold <seeingwithso...@gmail.com> wrote:
> Thanks Charles - messages crossed in mid-air. :-)
>
> Yes, I installed on the phone. I installed the stub from
>
> http://eyes-free.googlecode.com/svn/trunk/commonlibs/TTS_library_stub...

Charles Chen

unread,
Dec 18, 2008, 4:27:41 PM12/18/08
to tts-for...@googlegroups.com
Doh, sorry all, this was a mistake on my part - a bit too quick with the commit. Ended up putting the latest preview version of the library stub in the trunk instead of the one for the Market version.

From now on, please use the stubs in the downloads area that correspond with the version of the TTS that you are trying to build against.
http://eyes-free.googlecode.com/files/TTS_library_stub_1.1_Market.jar

The downloads area is organized according to the following conventions:
1. Labels indicate the whether a download is a preview, rc (release candidate), or Market (actual release) version.
2. In addition, naming is of the form:
    What-it-is_version_releaseType_candidateNumberIfApplicable.jarORapk


Sorry for any confusion this may have caused.

-Charles

Charles Chen

unread,
Dec 18, 2008, 4:29:36 PM12/18/08
to tts-for...@googlegroups.com
Also, a clarification about signed/unsigned issues - there shouldn't be any, ever if all you are doing is downloading from the Market and/or the Downloads area.

Everything in the downloads area that needs to be signed, is signed, and done so with the same key as what is put up on Market. So you should be able to switch between versions by just doing the install and overwriting whatever is already there on the phone; you should not have to manually uninstall anything unless you rolled your own version from the source and installed it with your debug key.

-Charles

On Thu, Dec 18, 2008 at 1:22 PM, blindfold <seeingw...@gmail.com> wrote:

blindfold

unread,
Dec 18, 2008, 5:01:23 PM12/18/08
to TTS-for-Android
Yes, it works now!!! Cool. Thanks, this
TTS_library_stub_1.1_Market.jar made the difference.

(Just a note: I downloaded this TTS_library_stub_1.1_Market.jar and
adapted Java Build Path to use this one instead, but then when I
launched my app and it asked to install the TTS, the downloading of
the TTS failed all the time - even while browser use showed that the
network was OK, and even when I moved close to my home Wifi router
that I am using for web access. I was about to report failure when
finally the download worked. Don't know where it is downloading the
TTS from, but it looks like a server that can be hard to connect to.)

On Dec 18, 10:27 pm, Charles Chen <clc...@google.com> wrote:
> Doh, sorry all, this was a mistake on my part - a bit too quick with the
> commit. Ended up putting the latest preview version of the library stub in
> the trunk instead of the one for the Market version.
>
> From now on, please use the stubs in the downloads area that correspond with
> the version of the TTS that you are trying to build against.http://eyes-free.googlecode.com/files/TTS_library_stub_1.1_Market.jar

blindfold

unread,
Dec 18, 2008, 5:07:21 PM12/18/08
to TTS-for-Android
Thanks for the clarification on signing - good to know this.

You may need to adapt the tutorial web page now to point to the new
stub file, or else overwrite the old stub file that failed.

Peter
Reply all
Reply to author
Forward
0 new messages