[mobile/cmd/gomobile] Add application name to install output

54 views
Skip to first unread message

Jason Buberel

unread,
Jun 15, 2015, 11:19:57 AM6/15/15
to golan...@googlegroups.com
Working with a mobile app developer who was running into trouble when using gomobile install:

06-15 14:28:59.558 24672 24672 D Finsky  : [1] WorkerTask.onPreExecute: Verification Requested for id = 13, data=file:///data/local/tmp/basic.apk flags=114 fromVerificationActivity=false
06-15 14:29:01.048 24658 24668 D DefContainer: Copying /data/local/tmp/basic.apk to base.apk

Nothing installed

Later, the developer replied with "Oh, just figured out the app was installed with the name 'main'".

The feature request would be to add some information to the log output:

 06-15 14:29:01.048 24658 24668 D DefContainer: Copying /data/local/tmp/basic.apk to base.apk, app will be installed as 'main'

Or something to that effect. Would probably be helpful to first time users. 

Thoughts? 

David Crawshaw

unread,
Jun 15, 2015, 11:29:20 AM6/15/15
to Jason Buberel, golang-nuts
I consider this a bug, it should be taking the package name for the
app. (Note that if you use your own AndroidManifest.xml file it will
have whatever name you set there.) Please go ahead and file it.

As to that particular log line, it is generated by adb and cannot be
changed easily by us.
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Jason Buberel

unread,
Jun 15, 2015, 11:56:08 AM6/15/15
to golan...@googlegroups.com, ja...@buberel.org
Reply all
Reply to author
Forward
0 new messages