On 19/09/2012 05:56, stefal wrote: Hi > > Hi, just downloaded Mono for Android trial and at the beginning of the > installation I'm told I have non of the prerequisites installed. > > Some I don't but I have JDK 1.6 and Android SDK revision 20.x and looking at > the log file the installer appears to be detecting some if not all of the > SDK though it states 20 isn't there which it is. > I also noticed the installer is looking for various versions of the Android > SDK I don't have installed, 12, 7, 14 etc. I know they aren't there because > I don't want them at present. There's no way to turn it off in the installer, you either have to let it download and install them or perform the installation manually.
> So a couple of questions if I may > > 1. Do I need the entire Android SDK stack to be able to use mono for > Android? No, not everything is needed but we do install platforms 7, 8, 10, 12 and 14. > And > 2. Why does the installer not detect the installed products such as JDK and > Android SDK 20.x Your JDK 1.6 installation seems to be broken as the registry entries its setup creates are missing: [2012-09-19 01:22:51.580] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion' [2012-09-19 01:22:51.580] [Debug] Attempting to read registry subkey 'SOFTWARE\JavaSoft\Java Development Kit', value 'CurrentVersion' Android SDK is detected but it misses several components as well as it needs to create AVD images needed by MonoDroid. If you run the installer again you will notice a link next to the Android item on the installation summary page which explain what needs to be installed. > > I aborted the installation of Mono because I've spent a fair bit of time > setting up the sdk, eclipse, virtual machines etc that I need to develop for > Android and as the whole environment appears a bit temperamental I'm a > little concerned about breaking it. > > I'd appreciate knowing that can I be sure the mono setup process isn't going > to break anything I have setup already? The installer shouldn't cause any trouble - it will not remove anything, it will merely add the missing components. If you want to be absolutely safe, you can make a backup of the Android and JDK directories before running the installer or install MonoDroid manually. best regards, marek > > TIA > Steve > > --------------------------------------------------- > > [2012-09-19 01:22:45.979] [Info] Installation ID: > 90256c41-930d-48e5-b71c-ee8b1fc92660 > [2012-09-19 01:22:45.979] [Info] Operating system: Windows 7 v6.1.7600.0 > (Home Premium; Microsoft Windows NT 6.1.7600.0), 64-bit > [2012-09-19 01:22:45.979] [Info] Installer version: 2.1.1.28292 > [2012-09-19 01:22:45.979] [Info] Status: in progress > [2012-09-19 01:22:49.583] [Info] Retrieving installation manifest. > [2012-09-19 01:22:49.583] [Info] Downloading from > 'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationManifest.xml'. > [2012-09-19 01:22:49.583] [Debug] Setting download timeout for > 'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationManifest.xml' > to 60s > [2012-09-19 01:22:50.269] [Info] Retrieving installation size manifest. > [2012-09-19 01:22:50.269] [Info] Downloading from > 'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationSizes.xml'. > [2012-09-19 01:22:50.269] [Debug] Setting download timeout for > 'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationSizes.xml' > to 60s > [2012-09-19 01:22:50.597] [Info] Installation size manifest not found > online, using the bundled copy > [2012-09-19 01:22:50.597] [Info] Installation size manifest: reading from > assembly. > [2012-09-19 01:22:50.597] [Info] Determining list of software items to > install. > [2012-09-19 01:22:50.597] [Debug] Processing update nodes from the manifest. > [2012-09-19 01:22:50.597] [Debug] Creating and initializing software item > 'Java JDK' > [2012-09-19 01:22:50.597] [Debug] Creating and initializing software item > 'Android SDK' > [2012-09-19 01:22:50.597] [Debug] Creating and initializing software item > 'GTK#' > [2012-09-19 01:22:50.597] [Debug] Creating and initializing software item > 'MonoDevelop' > [2012-09-19 01:22:50.597] [Debug] Creating and initializing software item > 'Mono for Android, VisualStudio and MonoDevelop' > [2012-09-19 01:22:51.580] [Debug] Detecting software item 'Java JDK' > [2012-09-19 01:22:51.580] [Info] Checking whether JDK needs to be installed. > [2012-09-19 01:22:51.580] [Debug] Attempting to read registry subkey > 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion' > [2012-09-19 01:22:51.580] [Debug] Attempting to read registry subkey > 'SOFTWARE\JavaSoft\Java Development Kit', value 'CurrentVersion' > [2012-09-19 01:22:51.580] [Info] JDK not detected. > [2012-09-19 01:22:51.580] [Info] JDK 1.6 needs to be installed. > [2012-09-19 01:22:51.689] [Info] Status: successful > [2012-09-19 01:22:51.689] [Info] Software item 'Java JDK': not up to date > [2012-09-19 01:22:51.689] [Info] Component 'Java JDK' v. 1.6 absent > [2012-09-19 01:22:51.689] [Debug] Detecting software item 'Android SDK' > [2012-09-19 01:22:51.689] [Info] Checking if Android SDK needs to be > updated/installed > [2012-09-19 01:22:51.798] [Info] Fetching Android SDK manifest. > [2012-09-19 01:22:51.907] [Info] Manifest URL: > http://dl.google.com/android/repository/repository-7.xml > [2012-09-19 01:22:51.907] [Info] Using default samples: > [2012-09-19 01:22:51.907] [Info] Downloading from > 'http://dl.google.com/android/repository/repository-7.xml'. > [2012-09-19 01:22:51.907] [Debug] Setting download timeout for > 'http://dl.google.com/android/repository/repository-7.xml' to 25s > [2012-09-19 01:22:52.672] [Info] AVD 'MonoForAndroid API 14' needs to be > created. > [2012-09-19 01:22:52.672] [Info] AVD 'MonoForAndroid API 12' needs to be > created. > [2012-09-19 01:22:52.672] [Info] AVD 'MonoForAndroid API 10' needs to be > created. > [2012-09-19 01:22:52.672] [Info] AVD 'MonoForAndroid API 8' needs to be > created. > [2012-09-19 01:22:52.672] [Info] AVD 'MonoForAndroid API 7' needs to be > created. > [2012-09-19 01:22:52.672] [Debug] Attempting to read registry subkey > 'SOFTWARE\Wow6432Node\Android SDK Tools', value 'Path' > [2012-09-19 01:22:53.109] [Info] Platform '7' is missing from the SDK > installation at C:\SDKs\mobile\android-sdk > [2012-09-19 01:22:53.109] [Info] Platform '12' is missing from the SDK > installation at C:\SDKs\mobile\android-sdk > [2012-09-19 01:22:53.109] [Info] Platform '14' is missing from the SDK > installation at C:\SDKs\mobile\android-sdk > [2012-09-19 01:22:53.109] [Info] Some Android platforms are missing from > Android SDK installation at C:\SDKs\mobile\android-sdk > [2012-09-19 01:22:53.109] [Info] Determining the list of components to > install/update in C:\SDKs\mobile\android-sdk > [2012-09-19 01:22:53.109] [Info] Checking Platform Tools component. > [2012-09-19 01:22:53.218] [Info] Checking Tools component. > [2012-09-19 01:22:53.218] [Info] Tools need to be installed. > [2012-09-19 01:22:53.218] [Info] Checking API 7 > [2012-09-19 01:22:53.218] [Info] API 7 needs to be installed > [2012-09-19 01:22:53.218] [Warning] System image descriptor for API level 7 > is missing > [2012-09-19 01:22:53.218] [Info] Checking API 8 > [2012-09-19 01:22:53.218] [Warning] System image descriptor for API level 8 > is missing > [2012-09-19 01:22:53.218] [Info] Checking API 10 > [2012-09-19 01:22:53.218] [Warning] System image descriptor for API level 10 > is missing > [2012-09-19 01:22:53.218] [Info] Checking API 12 > [2012-09-19 01:22:53.218] [Info] API 12 needs to be installed > [2012-09-19 01:22:53.218] [Warning] System image descriptor for API level 12 > is missing > [2012-09-19 01:22:53.218] [Info] Checking API 14 > [2012-09-19 01:22:53.218] [Info] API 14 needs to be installed > [2012-09-19 01:22:53.218] [Warning] API 14 system image is missing > [2012-09-19 01:22:53.218] [Info] Android SDK needs to be updated/installed > [2012-09-19 01:22:53.233] [Info] Status: successful > [2012-09-19 01:22:53.233] [Info] Software item 'Android SDK': not up to date > [2012-09-19 01:22:53.233] [Info] Component 'Android SDK' v. 20 absent > [2012-09-19 01:22:53.233] [Info] 5 Android SDK components need to be > downloaded. > [2012-09-19 01:22:53.233] [Debug] Enqueueing component: tools ("tools") > [2012-09-19 01:22:53.233] [Debug] Enqueueing component: android-7 ("Android > SDK Platform 2.1_r3") > [2012-09-19 01:22:53.233] [Debug] Enqueueing component: android-12 ("Android > SDK Platform 3.1, revision 3") > [2012-09-19 01:22:53.233] [Debug] Enqueueing component: android-14 ("Android > SDK Platform 4.0") > [2012-09-19 01:22:53.233] [Debug] Enqueueing component: system-image-14 > ("Android SDK Platform 4.0") > [2012-09-19 01:22:53.233] [Debug] Detecting software item 'GTK#' > [2012-09-19 01:22:53.233] [Info] Checking whether GTK# needs > installation/updating > [2012-09-19 01:22:53.233] [Debug] Attempting to read registry subkey > 'SOFTWARE\Wow6432Node\Novell\GtkSharp\Version', value '' > [2012-09-19 01:22:53.233] [Debug] Attempting to read registry subkey > 'SOFTWARE\Novell\GtkSharp\Version', value '' > [2012-09-19 01:22:53.233] [Info] Previous GTK# not detected > [2012-09-19 01:22:53.233] [Info] GTK# 2.12.10 needs to be installed. > [2012-09-19 01:22:53.233] [Info] Status: successful > [2012-09-19 01:22:53.233] [Info] Software item 'GTK#': not up to date > [2012-09-19 01:22:53.249] [Info] Component 'GTK#' v. 2.12.10 absent > [2012-09-19 01:22:53.249] [Debug] Detecting software item 'MonoDevelop' > [2012-09-19 01:22:53.249] [Info] Checking whether MonoDevelop needs > installation/updating > [2012-09-19 01:22:53.249] [Debug] Attempting to read registry subkey > 'SOFTWARE\Wow6432Node\Xamarin\MonoDevelop', value 'Version' > [2012-09-19 01:22:53.249] [Debug] Attempting to read registry subkey > 'SOFTWARE\Xamarin\MonoDevelop', value 'Version' > [2012-09-19 01:22:53.249] [Debug] Attempting to read registry subkey > 'SOFTWARE\Wow6432Node\Novell\MonoDevelop', value 'Version' > [2012-09-19 01:22:53.249] [Debug] Attempting to read registry subkey > 'SOFTWARE\Novell\MonoDevelop', value 'Version' > [2012-09-19 01:22:53.249] [Info] MonoDevelop not detected. > [2012-09-19 01:22:53.265] [Info] MonoDevelop 3.0.4.6 needs to be installed. > [2012-09-19 01:22:53.265] [Info] Status: successful > [2012-09-19 01:22:53.265] [Info] Software item 'MonoDevelop': not up to date > [2012-09-19 01:22:53.265] [Info] Component 'MonoDevelop' v. 3.0.4.6 absent > [2012-09-19 01:22:53.265] [Debug] Detecting software item 'Mono for Android, > VisualStudio and MonoDevelop' > [2012-09-19 01:22:53.265] [Info] Checking whether MonoForAndroid SDK needs > installation/updating > [2012-09-19 01:22:53.265] [Info] MfA add-in for VisualStudio 2010 is missing > [2012-09-19 01:22:53.265] [Info] MfA add-in for VisualStudio 2012 is missing > [2012-09-19 01:22:53.265] [Info] MonoForAndroid build files not found. > [2012-09-19 01:22:53.374] [Info] MonoForAndroid SDK 4.2.5 needs to be > installed. > [2012-09-19 01:22:53.374] [Info] Status: successful > [2012-09-19 01:22:53.374] [Info] Software item 'Mono for Android, > VisualStudio and MonoDevelop': not up to date > [2012-09-19 01:22:53.374] [Info] Component 'Mono for Android, VisualStudio > and MonoDevelop' v. 4.2.5 absent > [2012-09-19 01:22:53.374] [Info] Detection complete > [2012-09-19 01:22:53.374] [Debug] Download service starting. > [2012-09-19 01:22:54.247] [Info] Downloading from > 'http://download.xamarin.com/Installer/MonoForAndroid/jdk-6u31-windows-i586.exe'. > [2012-09-19 01:22:54.247] [Debug] Setting download timeout for > 'http://download.xamarin.com/Installer/MonoForAndroid/jdk-6u31-windows-i586.exe' > to 60s > [2012-09-19 01:22:54.684] [Debug] Waiting for initial task to complete. > [2012-09-19 01:22:54.684] [Debug] Initial task already completed. > [2012-09-19 01:22:54.684] [Debug] Detection completed. > [2012-09-19 01:30:54.528] [Info] Downloading from > 'http://dl.google.com/android/installer_r20-windows.exe'. > [2012-09-19 01:30:54.530] [Debug] Setting download timeout for > 'http://dl.google.com/android/installer_r20-windows.exe' to 60s > [2012-09-19 01:36:35.439] [Info] Downloading from > 'http://dl.google.com/android/repository/tools_r20.0.3-windows.zip'. > [2012-09-19 01:36:35.439] [Debug] Setting download timeout for > 'http://dl.google.com/android/repository/tools_r20.0.3-windows.zip' to 60s > [2012-09-19 01:37:53.533] [Info] User cancelled the installation while on > page: LicensePage > [2012-09-19 01:37:53.533] [Info] Status: aborted by user > [2012-09-19 01:37:53.533] [Info] Status: failed. > [2012-09-19 01:37:53.533] [Info] Status: completed > > > > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/Setup-doesn-t-detect-installed-software-tp5711881.html > Sent from the Mono for Android mailing list archive at Nabble.com. > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
