Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work #10

Open
sgehrman opened this issue Jan 11, 2020 · 1 comment
Open

doesn't work #10

sgehrman opened this issue Jan 11, 2020 · 1 comment

Comments

@sgehrman
Copy link

1 warning
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:8: error: package android.support.v7.app does not exist
import android.support.v7.app.AppCompatActivity;
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:9: error: package android.support.v7.widget does not exist
import android.support.v7.widget.Toolbar;
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:30: error: cannot find symbol
public class QRScannerActivity extends AppCompatActivity implements View.OnClickListener, ZXingScannerView.ResultHandler {
^
symbol: class AppCompatActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:38: error: method does not override or implement a method from a supertype
@OverRide
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:40: error: cannot find symbol
super.onCreate(state);
^
symbol: variable super
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:41: error: cannot find symbol
setContentView(R.layout.activity_qr_scanner);
^
symbol: method setContentView(int)
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:45: error: incompatible types: QRScannerActivity cannot be converted to Context
mScannerView = new ZXingScannerView(this);
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:51: error: cannot find symbol
contentFrame = findViewById(R.id.content_frame);
^
symbol: method findViewById(int)
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:52: error: cannot find symbol
flashImg = findViewById(R.id.flash_img);
^
symbol: method findViewById(int)
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:58: error: cannot find symbol
if (isDrawablesIdentical(flashImg.getDrawable(), getResources().getDrawable(R.drawable.ic_flash_active))) {
^
symbol: method getResources()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:59: error: cannot find symbol
flashImg.setImageDrawable(getResources().getDrawable(R.drawable.ic_flash_inactive));
^
symbol: method getResources()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:61: error: cannot find symbol
} else if (isDrawablesIdentical(flashImg.getDrawable(), getResources().getDrawable(R.drawable.ic_flash_inactive))) {
^
symbol: method getResources()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:62: error: cannot find symbol
flashImg.setImageDrawable(getResources().getDrawable(R.drawable.ic_flash_active));
^
symbol: method getResources()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:75: error: cannot find symbol
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
^
symbol: method getSupportActionBar()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:76: error: cannot find symbol
getSupportActionBar().setDisplayShowHomeEnabled(true);
^
symbol: method getSupportActionBar()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:77: error: cannot find symbol
setTitle(getString(R.string.qr_scanner));
^
symbol: method getString(int)
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:82: error: cannot find symbol
Window window = getWindow();
^
symbol: method getWindow()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:88: error: method does not override or implement a method from a supertype
@OverRide
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:90: error: cannot find symbol
super.onResume();
^
symbol: variable super
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:95: error: method does not override or implement a method from a supertype
@OverRide
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:97: error: cannot find symbol
super.onPause();
^
symbol: variable super
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:117: error: cannot find symbol
setResult(RESULT_OK, intent);
^
symbol: variable RESULT_OK
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:118: error: cannot find symbol
finish();
^
symbol: method finish()
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:122: error: cannot find symbol
Toast.makeText(QRScannerActivity.this, getString(R.string.process_failed), Toast.LENGTH_SHORT).show();
^
symbol: method getString(int)
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:127: error: method does not override or implement a method from a supertype
@OverRide
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:132: error: method does not override or implement a method from a supertype
@OverRide
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:144: error: cannot find symbol
setResult(RESULT_CANCELED, intent);
^
symbol: variable RESULT_CANCELED
location: class QRScannerActivity
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/qr_utils-0.1.4/android/src/main/java/com/aeologic/adhoc/qr_utils/activity/QRScannerActivity.java:145: error: cannot find symbol
finish();
^
symbol: method finish()
location: class QRScannerActivity
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
28 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':qr_utils:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 17s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin cloud_firestore...
The plugin cloud_firestore could not be built due to the issue above.
Exited (sigterm)

@magnussp
Copy link

Duplicate issue as #2 . There is a pull request waiting that would solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants