On Apr 3, 2012, at 1:32 PM, Nosh wrote:
> The targeted Android api level cannot be found
Within MonoDevelop, in the Solution panel, right-click your Project > Options
to open the Project Options dialog. Within the Project Options dialog, select
the Build > General node in the left-hand tree. On the right will be a Target
Framework drop-down; what is your target framework?
The default Traget Framework is Android v2.2 (Froyo) (API level 8).
Have you configured the Android SDK location? If not, the default location will
be %LOCALAPPDATA%\Xamarin\MonoForAndroid\AndroidSDK\android-sdk-windows (e.g.
on Windows 7
C:\Users\Jonathan\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK\android-sdk-windows).
Within the Android SDK directory is a platforms directory, containing one
directory per API level; there MUST be a directory here corresponding to the
API level your app is targeting, e.g.
C:\Users\Jonathan\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK\android-sdk-windows\platforms\android-8
for Android v2.2 (API level 8). Does this directory exist?
Finally, within MonoDevelop click Tools > Options..., and select the
Preferences > Build tree node on the left. On the right will be a Log verbosity
drop-down; select diagnostic, then restart MonoDevelop.
Once MonoDevelop has restarted, build your app and provide the contents of the
Error List > Build Output window. (The Error List pad can be show with View >
Pads > Error List.)
Thanks,
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid