I followed all of the instructions, and install completed successfully. In MonoDevelop, I go to: New Solution -> C# -> Mono for Android -> Mono for Android Application
, just as it says. When I go to build it, MonoDevelop throws an error, saying:
C:\\Users\\[NAME]\\Documents\\Android\\HelloAndroid1\\HelloAndroid1\\HelloAndroid1.csproj: Error: C:\\Program Files (x86)\\Mono-2.10.8\\lib\\mono\\xbuild\\Novell\\Novell.MonoDroid.CSharp.targets: Project file could not be imported, it was being imported by C:\\Users\\[NAME]\\Documents\\Android\\HelloAndroid1\\HelloAndroid1\\HelloAndroid1.csproj: Imported project: "C:\\Program Files (x86)\\Mono-2.10.8\\lib\\mono\\xbuild\\Novell\\Novell.MonoDroid.CSharp.targets" does not exist. (HelloAndroid1)
In addition, under References, "Mono.Android" has an error, and says, Assembly not available for Android 2.2 (Froyo) (in Mono 2.10.8 (C:\\Program Files (x86)\\Mono-2.10.8))
.
How do I fix this? Uninstalling and reinstalling doesn't help.
Make sure your Active Runtime is set to Microsoft.Net. There should be a combobox on the toolbar for it, or an option in the Project menu.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.