PopupInWebmapForEditing Sample error

2738
1
03-09-2014 01:53 PM
PattyJula
New Contributor II
Hi, I'm working with the PopupInWebmapForEditing Sample and am getting an error. When I run the Sample on my Nexus 7 and click a point, the sample closes.

[ATTACH=CONFIG]32060[/ATTACH]

Part of my LogCat messages states
java.lang.NoClassDefFoundError: com.esri.android.map.popup.PopUpContainer$1 
I read that a NoClassDefFoundError can be due to a class file is found at compile time but not at runtime, but I'm not certain how to fix. I read this post but it didn't resolve my issues. I have not change any of the code in the sample and I also get warnings about
method getGraphic() from the type Popup is being deprecated
Screen capture from my LogCat is below.

So possibly that is part of what's causing the sample to close? Does anyone have troubleshooting ideas?  Thanks!

[ATTACH=CONFIG]32059[/ATTACH]
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: pattyjula

Hi, it turns out I wasn't importing an Android library for this sample. I right clicked on Project > Android Tools > Import Android Library 19 - or something to that effect, I don't have Nexus in front of my right now. The sample now WORKS!

Thanks!
Patty
0 Kudos