Closed peter-jim closed 2 years ago
This repo is not a common development tool, you should offer more context before we can help.
Are you developing a plugin with polkawallet_sdk
or planning to contribute to the wallet App?
yeah! my team member planning to develop the wallet App ,which will participate the hackathon. So we need a wallet.
I‘m using ‘App’ repo, Androidstudio try to develop.And run it in chrome(web)
This application is not configured to build on the web.
To add web support to a project, run flutter create .
.
Launching lib\main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
This app is linked to the debug service: ws://127.0.0.1:64577/DGoLmmk1tt4=/ws
Debug service listening on ws://127.0.0.1:64577/DGoLmmk1tt4=/ws
Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Debug service listening on ws://127.0.0.1:64577/DGoLmmk1tt4=/ws
No observables detected in the build method of Observer
packages/app/app.dart 363:13
======== Exception caught by flutter_mobx ========================================================== The following MobXCaughtException was thrown: NoSuchMethodError: invalid member on null: 'keyring'
TypeError: Cannot read property 'keyring' of null
at apiAccount.ApiAccount.new.generateAccount (http://localhost:64518/packages/app/service/apiAssets.dart.lib.js:216:59)
at generateAccount.next (
If I use my cell phone,it show error like this
FAILURE: Build failed with an exception.
Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
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 Exception: Gradle task assembleDebug failed with exit code 1
This app can not run in web, it has several dependencies calling Android/IOS native libs through message channels.
Try https://polkadot.js.org/ Chrome extension for hackthon development.
thank you! finally I get the following bug
FAILURE: Build completed with 2 failures.
Where: Build file 'D:\flutterNewSdk\flutter.pub-cache\hosted\pub.flutter-io.cn\connectivity_plus-1.0.4\android\build.gradle' line: 22
What went wrong: A problem occurred evaluating project ':connectivity_plus'.
Could not get unknown property 'javaToolchains' for task ':app:compileDebugJavaWithJavac' of type org.gradle.api.tasks.compile.JavaCompile.
Where: Script 'D:\flutterNewSdk\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 346
What went wrong: A problem occurred configuring project ':connectivity_plus'.
Could not get unknown property 'android' for project ':connectivity_plus' of type org.gradle.api.Project.
Get more help at https://help.gradle.org
BUILD FAILED in 1s Exception: Gradle task assembleDebug failed with exit code 1
I had meet some problem!! please help
======== Exception caught by widgets library ======================================================= LateInitializationError: Local 'built' has not been initialized. The relevant error-causing widget was: Observer file:///D:/android%20flutter/app/app/lib/pages/account/create/backupAccountPage.dart:37:12
TypeError: Cannot read property 'keyring' of null
======== Exception caught by flutter_mobx ========================================================== The following MobXCaughtException was thrown: NoSuchMethodError: invalid member on null: 'keyring'
my flutter and dart version is correctly.it is sdk wrong?