This is a cross post from the Xamarin Forums
I have an app that was deploying without issues to a device through Xamarin Studio. After upgrading to Xamarin Studio 6 I am now having the error:
MTOUCH: Error MT3001: Could not AOT the assembly
'../obj/iPhone/Debug/build-iphone8.1-9.3.2/mtouch-cache/Build/Facebook.dll'
(MT3001)
I am using the latest Xamarin.Facebook.iOS nuget package (4.12.0 as of this writing). I have tried all three Linker behavior with the same result.
Is there anything else I can do?
Here's my system details:
=== Xamarin Studio Enterprise ===
Version 6.0 (build 5174) Installation UUID:
ff1dab9c-8c79-4fc4-b453-23a7c4df9d80 Runtime: Mono 4.4.0
(mono-4.4.0-branch-c7-baseline/5995f74) (64-bit) GTK+ 2.24.23 (Raleigh
theme)
Package version: 404000182
=== Xamarin.Profiler ===
Not Installed
=== Xamarin.Android ===
Version: 6.1.0.71 (Visual Studio Enterprise) Android SDK:
/.../Library/Developer/Xamarin/android-sdk-macosx Supported Android
versions:
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 25.1.3 SDK Platform Tools Version: 23.1 SDK Build
Tools Version: 23.0.3
Java SDK: /usr java version "1.7.0_71" Java(TM) SE Runtime Environment
(build 1.7.0_71-b14) Java HotSpot(TM) 64-Bit Server VM (build
24.71-b01, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin Android Player ===
Not Installed
=== Apple Developer Tools ===
Xcode 7.3.1 (10188.1) Build 7D1014
=== Xamarin.iOS ===
Version: 9.8.0.323 (Visual Studio Enterprise) Hash: 39ebb77 Branch:
cycle7 Build date: 2016-06-01 21:23:15-0400
=== Xamarin.Mac ===
Not Installed
=== Build Information ===
Release ID: 600005174 Git revision:
694a75f040b7f2309bc43d4f78a3a6572ca898bf Build date: 2016-06-01
17:28:08-04 Xamarin addins: 33f406fa2dcf214012c78cb846585f062b2e1d24
Build lane: monodevelop-lion-cycle7-baseline
=== Operating System ===
Mac OS X 10.11.5 Darwin xxxxx-MacBook-Pro.local 15.5.0 Darwin Kernel
Version 15.5.0 Tue Apr 19 18:36:36 PDT 2016
root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
Related
when running flutter run to run on linux, a blank page appears with this in the debug console:
Launching lib/main.dart on Linux in debug mode...
libGL error: MESA-LOADER: failed to open swrast: /lib64/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /snap/flutter/current/usr/lib/x86_64-linux-gnu/dri/../../../../lib/x86_64-linux-gnu/librt.so.1) (search paths :/usr/lib/dri:/snap/flutter/current/usr/lib/x86_64-linux-gnu/dri:, suffix _dri)
libGL error: failed to load driver: swrast
** (flutter_mastering:4822): WARNING **: 18:51:11.101: Failed to start Flutter renderer: Unable to create a GL context
searched for similar issues on the topic:
https://github.com/flutter/flutter/issues/75536
https://github.com/flutter/flutter/issues/76178
Cannot load `swrast` and `iris` drivers in Fedora 35
https://www.linuxquestions.org/questions/linux-software-2/libgl-error-on-fedora-28-swrast-solved-4175631923/
apparently nothing worked, here is some of my device's info:
5.19.6-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 31 17:58:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
❯ glxinfo | grep render
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_NV_float_buffer,
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD Radeon Vega 3 Graphics (raven, LLVM 14.0.0, DRM 3.47, 5.19.6-200.fc36.x86_64)
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_INTEL_blackhole_render, GL_KHR_blend_equation_advanced,
GL_NV_conditional_render, GL_NV_copy_image, GL_NV_depth_clamp,
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_INGR_blend_func_separate, GL_INTEL_blackhole_render,
GL_NV_compute_shader_derivatives, GL_NV_conditional_render,
GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control,
GL_INTEL_blackhole_render, GL_KHR_blend_equation_advanced,
GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
❯ flutter doctor
[✓] Flutter (Channel stable, 3.0.5, on Fedora Linux 36 (Workstation Edition) 5.19.6-200.fc36.x86_64, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.71.0)
[✓] Connected device (1 available)
[✓] HTTP Host Availability
! Doctor found issues in 1 category.
The issue is because of the snap install, what worked for me is replacing the snap version with the manual install from github. You can also use the tarball.
git clone https://github.com/flutter/flutter.git -b stable
now to add flutter to path:
sudo gedit ~/.bashrc
Assuming ur flutter install was at /home/user/ add this at the end of the file:
export PATH="$PATH:/flutter/bin"
If ur flutter install is somewhere else then change the directory accordingly
After saving and exiting, refresh ur .bashrc file with:
source ~/.bashrc
Now check if its added to path with:
echo $PATH
If you see a /flutter/bin then ur doing fine. To check if flutter's installed:
flutter --version
To add any missing dependencies (if ur on Fedora) use:
sudo dnf install bash curl file git unzip which xz zip mesa-libGLU clang cmake ninja-build pkg-config gtk3-devel
On Ubuntu based distros it is
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
Environment:
Android Studio Bumblebee | 2021.1.1 Patch 3
Build #AI-211.7628.21.2111.8309675, built on March 17, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.ctrip.wireless.android.build (1.0.7), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40)
When breakpoints are hit on different threads, I should be able to switch between them using the dropdown list under the "Frames" tab. Recently I just found that the dropdown list would not open when I clicked on it. I can still switch to other threads using the "Threads" tab though but that would be much more inconvenient. Is this a new feature in Bumblebee 2021.1.1 Patch 3?
looks like it has been fixed in the following version of AS:
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 19, 2022
Runtime version: 11.0.12+7-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.ctrip.wireless.android.build (1.0.7)
Emulators have been working find since v3.x in Android Studio for me on Windows 7.
Recently, it attempted to upgrade the HAXM and failed. Now attempting to start an emulator fails with "Could not start AVD". The message at the top of the AVD Manager says "HAXM device is not found. Troubleshoot.".
Clicking on Troubleshoot produces the following advice.
Enable VT-x in your BIOS security settings (it was working before and my bios should not have changed, so I have not looked at this)
ensure that HAXM is installed propertly (it is not; installation fails)
Try disabling 3rd party security software (nothing has changed here; using only Windows Defender)
If I go to "Tools > SDK Manager", "Apearance & Behavior > System Settings > Android SDK", "SDK Tools" Tab, and attempt to install Intel x86 Emulator Accelerator (HAXM installer) 7.6.5, it fails. This is what I get in the IDE log file...
2021-07-20 17:13:21,636 [ 724014] INFO - tools.idea.sdk.wizard.VmWizard - Parsing C:\Users\jjones\AppData\Local\Android\Sdk\tools\package.xml
2021-07-20 17:13:21,655 [ 724033] ERROR - ectedPackagesStep$CustomLogger - Failed to update status to COMPLETE
com.android.repository.api.PackageOperation$StatusChangeListenerException: HAXM setup failed!
at com.android.tools.idea.sdk.install.VmInstallListener.statusChanged(VmInstallListener.java:63)
at com.android.repository.impl.installer.AbstractPackageOperation.updateStatus(AbstractPackageOperation.java:508)
at com.android.repository.impl.installer.AbstractPackageOperation.complete(AbstractPackageOperation.java:207)
at com.android.tools.idea.sdk.wizard.InstallTask.completePackages(InstallTask.java:174)
at com.android.tools.idea.sdk.wizard.InstallTask.run(InstallTask.java:127)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:935)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:442)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$null$3(ProgressRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2021-07-20 17:13:21,657 [ 724035] ERROR - ectedPackagesStep$CustomLogger - Android Studio 4.2.2 Build #AI-202.7660.26.42.7486908
2021-07-20 17:13:21,657 [ 724035] ERROR - ectedPackagesStep$CustomLogger - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: N/A
2021-07-20 17:13:21,657 [ 724035] ERROR - ectedPackagesStep$CustomLogger - OS: Windows 7
2021-07-20 17:13:21,657 [ 724035] ERROR - ectedPackagesStep$CustomLogger - Last Action: Android.RunAndroidSdkManager
2021-07-20 17:13:21,657 [ 724035] INFO - ectedPackagesStep$CustomLogger - "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 7.6.5)" failed.
2021-07-20 17:13:21,658 [ 724036] INFO - ectedPackagesStep$CustomLogger - Failed packages:
2021-07-20 17:13:21,658 [ 724036] INFO - ectedPackagesStep$CustomLogger - - Intel x86 Emulator Accelerator (HAXM installer) (extras;intel;Hardware_Accelerated_Execution_Manager)
I know there are dozens of questions here on this or similar topics. I have tried many, to no avail. Others seem not to pertain to my situation.
I have updated my version of Xamarin to alpha and now i have that error (this version must be resolve PCL...)
/Library/Frameworks/Mono.framework/Versions/3.2.3/lib/mono/4.0/Microsoft.Common.targets:
Error: PCL Reference Assemblies not installed. (MyProject.Core)
That are my environment information
=== Xamarin Studio ===
Version 4.1.12 (build 6)
Runtime:
Mono 3.2.3 ((no/8d3b4b7)
GTK+ 2.24.20 theme: Raleigh
GTK# (2.12.0.0)
=== Apple Developer Tools ===
Xcode 5.0 (3332.25)
Build 5A1413
=== Xamarin.iOS ===
Version: 7.0.2.7 (Business Edition)
Branch:
Build date: 2013-04-10 18:05:51-0400
=== Xamarin.Mac ===
Xamarin.Mac: Not Installed
=== Xamarin.Android ===
Version: 4.8.3 (Business Edition)
Supported Android versions:
1.6 (API level 4)
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
3.2 (API level 13)
4.0 (API level 14)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-456-11M4508)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-456, mixed mode)
=== Operating System ===
Mac OS X 10.8.5
I can't run the sample app from aalmiray's blog "The Griffon Trove: dialogs and JavaFX".
[griffonc] Compiling 1 source file to
C:\Users\foo.griffon\1.0.1\projects\sample\classes\main Compilation
error: BUG! exception in phase 'semantic analysis' in source unit
'C:\Users\foo\sample\griffon-app\views\sample\DialogView.groovy'
Invalid index
Commenting the import javafx.geometry.Insets helps by compiling.
Groovy Version: 1.8.5 JVM: 1.6.0_24 Vendor: Sun Microsystems Inc.
OS: Windows 7 x64
Griffon Version: 1.0.1
JavaFX Version: 2.1 Runtime
Link is here.
It looks to me you're being affected by http://jira.codehaus.org/browse/GRIFFON-517. If this is the case then please make sure you're running latest versions of the JavaFX and GroovyFX plugins. You can quickly check if a plugin requires updates by invoking griffon list-plugin-updates.
You can also check http://artifacts.griffon-framework.org for updates.