• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

cannot open the pdf application in emulator

 
Ranch Hand
Posts: 634
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am quite new to android. I tried running an application downloaded from web on my emulator but it failed.

I am using Linux(ubuntu). I first of all pasted the .apk file in tools folder of android_sdk.
then I tried the following things on terminal:-

export PATH=$PATH:/home/user1/Downloads/android-sdk-linux_86/tools
sudo apt-get install adb pdfview2.apk

It gave the following errors:-
E: Unable to locate package adb
E: Unable to locate package pdfview2.apk
E: Couldn't find any package by regex 'pdfview2.apk'


I launched my emulator from the tools folder itself...
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sudo apt-get install adb pdfview2.apk


What do you think this line should do?
 
Mohit G Gupta
Ranch Hand
Posts: 634
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

i followed the steps as given at http://blog.freewarelovers.com/2010/08/how-to-install-apk-files-on-android.html
In ubuntu ,we need to use apt-get command
please help me.i am newbie to linux too.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

In ubuntu ,we need to use apt-get command


No, and that article doesn't even mention it. Rather, it talks about "adb install ...".

Note that "adb install ..." only works if either the emulator is running, or an Android device is connected via USB.
 
reply
    Bookmark Topic Watch Topic
  • New Topic