ewpatton / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
9 stars 7 forks source link

Merged your changes without success #5

Closed michael-winkler closed 6 years ago

michael-winkler commented 6 years ago

I tried what you have done but now I get something like this. issue

Is this really all what you have done? https://github.com/ewpatton/appinventor-sources/commit/a682940ddab8ae33d9e802e5660e06f6f264f822#diff-55b2f5aaaff74ee9f463cca4530c6b07

Because I have done it like you and now I get errors without a end.

AndroidRuntime: [mkdir] Created dir: C:\Users\Megaport\Desktop\Makeroid\appinventor\components\build\classes\AndroidRuntime [javac] Compiling 297 source files to C:\Users\Megaport\Desktop\Makeroid\appinventor\components\build\classes\AndroidRuntime [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:95: error: cannot access LifecycleOwner [javac] public class Form extends AppCompatActivity implements Component, ComponentContainer, HandlesEventDispatching, OnGlobalLayoutListener { [javac] ^ [javac] class file for android.arch.lifecycle.LifecycleOwner not found [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\AndroidNonvisibleComponent.java:34: error: incompatible types: Form cannot be converted to HandlesEventDispatching [javac] return form; [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:268: error: incompatible types: Form cannot be converted to Context [javac] MultiDex.install(ourForm, true); // Force installation [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:277: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:280: error: cannot find symbol [javac] super.onCreate(icicle); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:282: error: cannot find symbol [javac] getSupportActionBar().show(); [javac] ^ [javac] symbol: method getSupportActionBar() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:287: error: cannot find symbol [javac] String className = getClass().getName(); [javac] ^ [javac] symbol: method getClass() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:292: error: cannot find symbol [javac] activeForm = this; [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:295: error: cannot find symbol [javac] deviceDensity = this.getResources().getDisplayMetrics().density; [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:297: error: cannot find symbol [javac] compatScalingFactor = ScreenDensityUtil.computeCompatibleScaling(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:299: error: cannot find symbol [javac] viewLayout = new LinearLayout(this, ComponentConstants.LAYOUT_ORIENTATION_VERTICAL); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:314: error: cannot find symbol [javac] progress = ProgressDialog.show(this, "Please Wait...", "Installation Finishing"); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:316: error: cannot find symbol [javac] new MultiDexInstaller().execute(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:351: error: cannot find symbol [javac] Intent startIntent = getIntent(); [javac] ^ [javac] symbol: method getIntent() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:356: error: cannot find symbol [javac] fullScreenVideoUtil = new FullScreenVideoUtil(this, androidUIHandler); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:360: error: cannot find symbol [javac] WindowManager.LayoutParams params = getWindow().getAttributes(); [javac] ^ [javac] symbol: method getWindow() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:362: error: cannot find symbol [javac] getWindow().setSoftInputMode( [javac] ^ [javac] symbol: method getWindow() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:412: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:414: error: cannot find symbol [javac] super.onPostCreate(savedInstanceState); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:420: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:422: error: cannot find symbol [javac] super.onConfigurationChanged(newConfig); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:474: error: not an enclosing class: Form [javac] Form.this.invalidateOptionsMenu(); [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:505: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:508: error: cannot find symbol [javac] int contentViewTop = getWindow().findViewById(Window.ID_ANDROID_CONTENT).getTop(); [javac] ^ [javac] symbol: method getWindow() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:539: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:547: error: cannot find symbol [javac] boolean handled = super.onKeyDown(keyCode, event); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:548: error: cannot find symbol [javac] AnimationUtil.ApplyCloseScreenAnimation(this, closeAnimType); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:555: error: cannot find symbol [javac] return super.onKeyDown(keyCode, event); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:560: error: cannot find symbol [javac] return EventDispatcher.dispatchEvent(this, "BackPressed"); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:568: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:604: error: incompatible types: Form cannot be converted to Component [javac] activeForm.dispatchErrorOccurredEvent(activeForm, functionName, [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:655: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:657: error: cannot find symbol [javac] super.onResume(); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:659: error: cannot find symbol [javac] activeForm = this; [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:687: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:689: error: cannot find symbol [javac] super.onNewIntent(intent); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:700: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:702: error: cannot find symbol [javac] super.onPause(); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:714: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:716: error: cannot find symbol [javac] super.onStop(); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:732: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:734: error: cannot find symbol [javac] super.onDestroy(); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:738: error: cannot find symbol [javac] EventDispatcher.removeDispatchDelegate(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:762: error: cannot find symbol [javac] return super.onCreateDialog(id); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:772: error: cannot find symbol [javac] super.onPrepareDialog(id, dialog); [javac] ^ [javac] symbol: variable super [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:790: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:794: error: cannot find symbol [javac] (component == this && eventName.equals("Initialize")); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:799: error: cannot find symbol [javac] activeForm = this; [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:813: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:829: error: not an enclosing class: Form [javac] EventDispatcher.dispatchEvent(Form.this, "Initialize"); [javac] ^ [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:854: error: cannot find symbol [javac] EventDispatcher.dispatchEvent(this, "ScreenOrientationChanged"); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:873: error: cannot find symbol [javac] this, "ErrorOccurred", component, functionName, errorNumber, message))) [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:880: error: cannot find symbol [javac] new Notifier(this).ShowAlert("Error " + errorNumber + ": " + message); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:893: error: cannot find symbol [javac] this, "ErrorOccurred", component, functionName, errorNumber, message))) [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:900: error: cannot find symbol [javac] new Notifier(this).ShowMessageDialog("Error " + errorNumber + ": " + message, title, buttonText); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:907: error: cannot find symbol [javac] runOnUiThread(new Runnable() { [javac] ^ [javac] symbol: method runOnUiThread() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:922: error: cannot find symbol [javac] runOnUiThread(new Runnable() { [javac] ^ [javac] symbol: method runOnUiThread() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:972: error: cannot find symbol [javac] if (this.scrollable == scrollable && frameLayout != null) { [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:976: error: cannot find symbol [javac] this.scrollable = scrollable; [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:995: error: cannot find symbol [javac] drawer = new DrawerLayout(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:998: error: cannot find symbol [javac] frameLayout = scrollable ? new ScrollView(this) : new FrameLayout(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:998: error: cannot find symbol [javac] frameLayout = scrollable ? new ScrollView(this) : new FrameLayout(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1011: error: cannot find symbol [javac] scaleLayout = new ScaledFrameLayout(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1015: error: cannot find symbol [javac] setContentView(scaleLayout); [javac] ^ [javac] symbol: method setContentView(ScaledFrameLayout) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1016: error: cannot find symbol [javac] frameLayout.getViewTreeObserver().addOnGlobalLayoutListener(this); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1091: error: cannot find symbol [javac] backgroundDrawable = MediaUtil.getBitmapDrawable(this, backgroundImagePath); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1118: error: cannot find symbol [javac] return getTitle().toString(); [javac] ^ [javac] symbol: method getTitle() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1132: error: cannot find symbol [javac] getSupportActionBar().setTitle(title); [javac] ^ [javac] symbol: method getSupportActionBar() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1160: error: cannot find symbol [javac] this.aboutScreen = aboutScreen.replace("<!--", ""); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1162: error: cannot find symbol [javac] this.aboutScreen = aboutScreen; [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1187: error: cannot find symbol [javac] getSupportActionBar().show(); [javac] ^ [javac] symbol: method getSupportActionBar() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1189: error: cannot find symbol [javac] getSupportActionBar().hide(); [javac] ^ [javac] symbol: method getSupportActionBar() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1216: error: cannot find symbol [javac] getWindow().addFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); [javac] ^ [javac] symbol: method getWindow() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1217: error: cannot find symbol [javac] getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); [javac] ^ [javac] symbol: method getWindow() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1219: error: cannot find symbol [javac] getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); [javac] ^ [javac] symbol: method getWindow() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1220: error: cannot find symbol [javac] getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); [javac] ^ [javac] symbol: method getWindow() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1243: error: cannot find symbol [javac] switch (getRequestedOrientation()) { [javac] ^ [javac] symbol: method getRequestedOrientation() [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1284: error: cannot find symbol [javac] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_BEHIND); [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1286: error: cannot find symbol [javac] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1288: error: cannot find symbol [javac] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1290: error: cannot find symbol [javac] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1292: error: cannot find symbol [javac] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1294: error: cannot find symbol [javac] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1296: error: cannot find symbol [javac] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER); [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1299: error: cannot find symbol [javac] setRequestedOrientation(10); // ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1301: error: cannot find symbol [javac] setRequestedOrientation(8); // ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1303: error: cannot find symbol [javac] setRequestedOrientation(9); // ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1305: error: cannot find symbol [javac] setRequestedOrientation(6); // ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1307: error: cannot find symbol [javac] setRequestedOrientation(7); // ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT [javac] ^ [javac] symbol: method setRequestedOrientation(int) [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1309: error: cannot find symbol [javac] dispatchErrorOccurredEvent(this, "ScreenOrientation", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1313: error: cannot find symbol [javac] dispatchErrorOccurredEvent(this, "ScreenOrientation", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1353: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "HorizontalAlignment", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1353: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "HorizontalAlignment", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1387: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "VerticalAlignment", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1387: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "VerticalAlignment", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1417: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "Screen", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1417: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "Screen", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1451: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "Screen", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1451: error: cannot find symbol [javac] this.dispatchErrorOccurredEvent(this, "Screen", [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] C:\Users\Megaport\Desktop\Makeroid\appinventor\components\src\com\google\appinventor\components\runtime\Form.java:1536: error: cannot find symbol [javac] formWidth = (int)((float) this.getResources().getDisplayMetrics().widthPixels / deviceDensity); [javac] ^ [javac] symbol: variable this [javac] location: class Form [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output [javac] 100 errors [javac] 1 warning

ewpatton commented 6 years ago

Are you able to compile both branches successfully prior to the merge?

michael-winkler commented 6 years ago

I will test it later and let you know it. Maybe the reason was the missing legacy folder.

michael-winkler commented 6 years ago

@ewpatton I have cloned the sources to my computer and it is working.

Have you any idea why I get the error above? I think that it did not found any needed file.

ewpatton commented 6 years ago

My guess is that when you merged there was a conflict and the references to android-26/android.jar and the related support libraries were removed.

michael-winkler commented 6 years ago

I think I found the problem.

in "components/build.xml" was no: < pathelement location="${lib.dir}/android/support/lifecycle-common-1.0.0.jar" />

I added the line and the issues was gone. Is there any reason why you have not added the line? @ewpatton

michael-winkler commented 6 years ago

Do you have any idea what's now wrong? Maybe to much other libs? And how can I solve it?

issue

ewpatton commented 6 years ago

That's certainly possible. The compiler will attempt a rebuild after the first DX execution failure in order to split up the libraries into two sets. If you have added a lot of extra dependencies for Makeroid then it's possible that you may need to have a third DX stage so that the partitions are sufficiently small enough to stay within the 65k method limit.