سلام
من میخوام پوشه رو نصب کنم
از تحریم گذر هم استفاده میکنم ولی ارور زیر رو میده :
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PushePlugin.java:49: error: cannot find symbol
public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
^
symbol: class NonNull
location: class PushePlugin
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PushePlugin.java:49: error: cannot find symbol
public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
^
symbol: class NonNull
location: class PushePlugin
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:28: error: cannot find symbol
public void onNotificationReceived(@NonNull final NotificationData notificationData) {
^
symbol: class NonNull
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:35: error: cannot find symbol
public void onNotificationClicked(@NonNull final NotificationData notificationData) {
^
symbol: class NonNull
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:42: error: cannot find symbol
public void onNotificationButtonClicked(@NonNull final NotificationData notificationData,
^
symbol: class NonNull
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:43: error: cannot find symbol
@NonNull final NotificationButtonData notificationButtonData) {
^
symbol: class NonNull
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:51: error: cannot find symbol
public void onCustomContentReceived(@NonNull final JSONObject jsonObject) {
^
symbol: class NonNull
C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:58: error: cannot find symbol
public void onNotificationDismissed(@NonNull final NotificationData notificationData) {
^
symbol: class NonNull
8 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':pushe: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 16s
Finished with error: Gradle task assembleDebug failed with exit code 1
سوال
elyasbeshkani 0
سلام
من میخوام پوشه رو نصب کنم
از تحریم گذر هم استفاده میکنم ولی ارور زیر رو میده :
Launching lib\main.dart on Android SDK built for x86 in debug mode... Initializing gradle... Resolving dependencies... Running Gradle task 'assembleDebug'... C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PushePlugin.java:49: error: cannot find symbol public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) { ^ symbol: class NonNull location: class PushePlugin C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PushePlugin.java:49: error: cannot find symbol public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) { ^ symbol: class NonNull location: class PushePlugin C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:28: error: cannot find symbol public void onNotificationReceived(@NonNull final NotificationData notificationData) { ^ symbol: class NonNull C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:35: error: cannot find symbol public void onNotificationClicked(@NonNull final NotificationData notificationData) { ^ symbol: class NonNull C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:42: error: cannot find symbol public void onNotificationButtonClicked(@NonNull final NotificationData notificationData, ^ symbol: class NonNull C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:43: error: cannot find symbol @NonNull final NotificationButtonData notificationButtonData) { ^ symbol: class NonNull C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:51: error: cannot find symbol public void onCustomContentReceived(@NonNull final JSONObject jsonObject) { ^ symbol: class NonNull C:\Users\Elyas\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\pushe-1.0.0\android\src\main\java\co\ronash\pushe\flutter\PusheApplication.java:58: error: cannot find symbol public void onNotificationDismissed(@NonNull final NotificationData notificationData) { ^ symbol: class NonNull 8 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':pushe: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 16s Finished with error: Gradle task assembleDebug failed with exit code 1
لینک ارسال
به اشتراک گذاری در سایت های دیگر
3 پاسخ به این سوال تاکنون داده شده است
ارسالهای توصیه شده
بایگانی شده
این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.