View Issue Details

IDProjectCategoryView StatusLast Update
00302432.x IDE BugsBuild AndroidPublic2019-01-31 11:42
ReporterDanAssigned ToRussell Kay 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformAndroidOSWindows 10OS VersionPro x64
Product Version2.2.0 
Target Version2.2.2Fixed in Version2.2.2 
Summary0030243: Build Android: Igor seems to crash when a build fails, results in a call stack each time
DescriptionDoing an Android run or create exe and then having it fail, you will see that in most/all cases the compiler log reads as if Igor actually crashed - you will see a callstack for the error. You can see a couple of examples of this below:

System.Exception: Error : The selected Architecture options do not support this device. Please add Armv5
   at Igor.AndroidUtils.(String )
   at Igor.AndroidBuilder.Compile(Boolean _exe)
   at Igor.AndroidBuilder.Deploy(Boolean _exe)
   at Igor.AndroidBuilder.Run()
Igor complete.

System.Exception: Build Failed
   at Igor.AndroidUtils.(YYDictionary`2 , String , Boolean , String )
   at Igor.AndroidBuilder.Deploy(Boolean _exe)
   at Igor.AndroidBuilder.Run()
Igor complete.

Expected: Igor should not be crashing. We should handle this more gracefully, and so we pass back the error as a compiler error or a message dialog (depending on the specific issue) and there is no crash log shown.
Steps To Reproduce1. Start GMS2 and target an Android device, but ensure that device is NOT plugged-in when starting the build.
2. Click the run button.
3. Observe the compiler error when the build fails.
Repro: 100%
Additional InformationNote sure if this crashing has any effect on why sometimes you must manually stop Android builds even after the build has actually ended before you will be able to do another run?
2.x IDE Found In2.2.0.343
2.x Runtime Found In2.2.0.261
2.x IDE Verified In2.2.2.390
2.x Runtime Verified In2.2.2.302


Russell Kay

2018-12-10 22:17

Manager   ~0062212

Fixed in gitlab