Need Help "ADB" is not working. Also need Options for testing on the Nook Color!

Help!!!

I need to install the game I’m working on for the NOOK on the Nook Color! for testing.

I OTA the .apk and it gave me:

The error on the nook
“For security, your phone is set to block installation of applications not obtained from Android Market”

I copied my provision.cmd to the root dir next to the folders “My Files, LOST>DIR, and B&N Downloads”

I try to use ADB and my OSX 10.6 gave me in Terminal

-bash abd: command not found

I have ADB and ADB_USB.ini in the TOOLS DIR of “Android-sdk-mac_x86”

Any clues?
[import]uid: 4871 topic_id: 12788 reply_id: 312788[/import]

Have you followed the steps outlined on the Nook Developer site on how to unable your Nook for development? [import]uid: 13780 topic_id: 12788 reply_id: 46876[/import]

Yes and still getting those errors! [import]uid: 4871 topic_id: 12788 reply_id: 46877[/import]

Sounds like you haven’t set the path $PATH to include the Android SDK “platform-tools” and “tools” folders. From the terminal, type: echo $PATH to check.

If the paths are not set, edit ~/.bash_profile (this is inside your user folder) and add:

export PATH=${PATH}:~/Documents/Dev/Android/tools
export PATH=${PATH}:~/Documents/Dev/Android/platform-tools

Change your paths to where your Android SDK folder is.

To install from the terminal, type:

adb install -r YourAppName.apk

Hope this helps.

Dave
[import]uid: 46 topic_id: 12788 reply_id: 46890[/import]

Read what Carlos posted on this thread yesterday.

http://developer.anscamobile.com/forum/2011/07/21/building-nook

I took that to mean that we can’t build for Nook with the version of CoronaSDK we have now. [import]uid: 17085 topic_id: 12788 reply_id: 46899[/import]

No, you cannot currently build for the NOOK. Refer to the thread Ibpowell linked to for further info. [import]uid: 52491 topic_id: 12788 reply_id: 46940[/import]

here what I get:
werd-interactive-inc-3s-iMac:~ werd3$ ~/.bash_profile
-bash: /Users/werd3/.bash_profile: Permission denied
werd-interactive-inc-3s-iMac:~ werd3$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/werd3/Desktop/androidsdk/tools
werd-interactive-inc-3s-iMac:~ werd3$
[import]uid: 4871 topic_id: 12788 reply_id: 46965[/import]

This is what my “.bash_profile” looks like!

export PATH=${PATH}:/Users/werd3/Desktop/androidsdk/tools
export PATH=${PATH}:/Users/werd3/Desktop/androidsdk/platform-tools
This is what I get now!

Last login: Sat Jul 23 13:11:01 on ttys000
werd-interactive-inc-3s-iMac:~ werd3$ adb install Gem Match EX.apk
can’t find ‘EX.apk’ to install
werd-interactive-inc-3s-iMac:~ werd3$ open -e .bash_profile
werd-interactive-inc-3s-iMac:~ werd3$ adb install -r GemMatchEX.apk
can’t find ‘GemMatchEX.apk’ to install
werd-interactive-inc-3s-iMac:~ werd3$ adb install GemMatchEX.apk
can’t find ‘GemMatchEX.apk’ to install
werd-interactive-inc-3s-iMac:~ werd3$
werd-interactive-inc-3s-iMac:~ werd3$ adb install GemMatchEX.apk
can’t find ‘GemMatchEX.apk’ to install
werd-interactive-inc-3s-iMac:~ werd3$ adb install -r GemMatchEX.apk
can’t find ‘GemMatchEX.apk’ to install
werd-interactive-inc-3s-iMac:~ werd3$

I’m totally STUMP!
[import]uid: 4871 topic_id: 12788 reply_id: 46985[/import]

Progress! :slight_smile:

What is the filename of your .apk? Does it have space in the name?

Also, are you in the same folder as your .apk file?
[import]uid: 46 topic_id: 12788 reply_id: 46987[/import]

kinda shorta progress!

here’s what i’m getting now.
werd-interactive-inc-3s-iMac:~ werd3$ ls
Applications Downloads Movies Public
Desktop Dropbox Music Sites
Documents Library Pictures continue
werd-interactive-inc-3s-iMac:~ werd3$ cd desktop
werd-interactive-inc-3s-iMac:desktop werd3$ adb install -r GemMatchEX.apk
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
werd-interactive-inc-3s-iMac:desktop werd3$
[import]uid: 4871 topic_id: 12788 reply_id: 46994[/import]

Is your Nook (with provision.cmd at its root) connected via USB?

What do you get when you type:

adb devices

?
[import]uid: 46 topic_id: 12788 reply_id: 46995[/import]

I get this:
werd-interactive-inc-3s-iMac:desktop werd3$ adb devices
List of devices attached

werd-interactive-inc-3s-iMac:desktop werd3$

my “adb_usb.ini” looks like this:
name=NOOKcolor
vendor=Barnes & Noble, Inc.
description=nook color
skin=NOOKcolor
api=7
revision=1
usb-vendor=0x2080

I copied my provision.cmd to the root dir next to the folders “My Files, LOST>DIR, and B&N Downloads” [import]uid: 4871 topic_id: 12788 reply_id: 46996[/import]

Try ejecting the Nook from the Mac, reconnect, then:

adb kill-server
adb usb
adb devices

If that still doesn’t work, try:

cd .android
echo 0x2080 >> adb_usb.ini

Check your Nook serial number and make sure it’s matching your provision profile too.
[import]uid: 46 topic_id: 12788 reply_id: 46997[/import]

Here what I get now.

werd-interactive-inc-3s-iMac:desktop werd3$ adb kill-server
werd-interactive-inc-3s-iMac:desktop werd3$ adb usb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
werd-interactive-inc-3s-iMac:desktop werd3$ adb devices
List of devices attached

werd-interactive-inc-3s-iMac:desktop werd3$ adb kill-server
werd-interactive-inc-3s-iMac:desktop werd3$ adb usb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
werd-interactive-inc-3s-iMac:desktop werd3$ adb devices
List of devices attached

werd-interactive-inc-3s-iMac:desktop werd3$ adb kill-server
werd-interactive-inc-3s-iMac:desktop werd3$ cd .android
-bash: cd: .android: No such file or directory
werd-interactive-inc-3s-iMac:desktop werd3$ echo 0x2080 >> adb_usb.ini
werd-interactive-inc-3s-iMac:desktop werd3$ echo 0x2080 >> adb_usb.ini
werd-interactive-inc-3s-iMac:desktop werd3$ echo 0x2080 >> adb_usb.ini
werd-interactive-inc-3s-iMac:desktop werd3$
werd-interactive-inc-3s-iMac:desktop werd3$ echo 0x2080 >> adb_usb.ini
werd-interactive-inc-3s-iMac:desktop werd3$ adb usb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
werd-interactive-inc-3s-iMac:desktop werd3$ adb devices
List of devices attached

werd-interactive-inc-3s-iMac:desktop werd3$
[import]uid: 4871 topic_id: 12788 reply_id: 46999[/import]

Type android from the Terminal, it should open the Android SDK and AVD Manager. If not, go to the “tools” folder and type it.

Under Virtual devices, click New…

Click the Target dropdown menu, do you see the following?

NOOKcolor (Barnes & Noble, Inc.) - API Level 8

Make sure you have Android SDK 2.2 API Level 8 installed too.

If not, follow the installation instruction from NookDeveloper, perhaps something’s missing during installation…
[import]uid: 46 topic_id: 12788 reply_id: 47000[/import]

Yes all of Android SDK and AVD Manager look right! [import]uid: 4871 topic_id: 12788 reply_id: 47001[/import]

This has already been answered. You cannot currently build for the NOOK unless you are a dev partner.

See this thread; http://developer.anscamobile.com/forum/2011/07/21/building-nook

I’m closing this thread; it’s been answered. [import]uid: 52491 topic_id: 12788 reply_id: 47059[/import]