万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    Android

    Androidの例のtry to migrate this app to the V2 embeddingエラー

    This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding. Take a look at the docs for migrating an app: https://github.com/…

    プッシュ通知のFlutterメモ

    android/app/src/main/AndroidManifest.xml activity配下ではない!!! [flutter] FCM で バックグラウンド時の通知アイコンが表示されない時のつまづき <meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="@string/default_notification_channel_id" /> </meta-data>

    in_app_purchaseのIAPErrorについて

    Android環境では、IAPErrorのcodeは、BillingClient.BillingResponseCodeに対応するエラーコードを表す文字列になります。ただし、これらのエラーコードは整数ではなく、文字列に変換されます。 例えば、BillingClient.BillingResponseCode.USER_CANCELED(…

    Androidビルドエラー

    ┌─ Flutter Fix ─────────────────────────────────────────────────────────────────────────────────┐ │ The plugin firebase_analytics requires a higher Android SDK version. │ │ Fix this issue by adding the following to the file │ │ /Users/shin…

    Flutterのflutter.minSdkVersionとの戦い

    これがうぜー。 /Users/shinriyo/development/flutter_apps/joyreco/android/app/build.gradle: │ │ android { │ │ defaultConfig { │ │ minSdkVersion 19 │ │ } │ │ } │ │ // You can update the following values to match your application needs. // For…

    WIFIデータの状態のON/OFFと状況確認

    http://memomemoandroid.blogspot.com/2014/06/wifionoff.html

    FlutterのなぞのAndroidエラー

    Running Gradle task 'assembleDebug'... /Users/shinriyo/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.2.2/android/src/main/java/com/baseflow/permissionhandler/PermissionUtils.java:72: error: cannot find symbol case Manifest.permis…

    FlutterでAndroidでAdMobの初期化時にクラッシュする

    google_mobile_ads:のAdmobを使っている。 firebase_admobはもうオワコン。 ****************************************************************************** * The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers * * should foll…

    AndroidのAndroid license status unknown.ライセンスで怒られるとき

    flutter doctor --android-licenses fvm flutter doctor --android-licenses コマンドをする qiita.com

    Androidのデバッグシンボル、Flutterの場合の提出

    aabを乗せるときの変な警告が発生。 ・公式の参考 support.google.com [リリース] > [デバイスとバージョン] > [App Bundle エクスプローラ] を選択します。 見つからいときは、「App Bundle エクスプローラ」で上にあるバーから検索するといい。 [ダウンロ…

    Flutterでのapkビルドで「注意:詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。」

    android/build.gradle options.compilerArgs << "-Xlint:deprecation" を入れる allprojects { repositories { google() jcenter() } gradle.projectsEvaluated{ tasks.withType(JavaCompile){ options.compilerArgs << "-Xlint:deprecation" } } }

    フィーチャー画像(必須),プロモーション画像って?

    初めてのAndroidアプリで躓いたところ【2:リリース編】(プログラミング初学者) - Qiita www.monster-dive.com フィーチャー画像(必須) ストアでおすすめとして紹介される場合に表示されます。 プロモーション画像 Android 3系以前でのプロモーションに使…

    AAB(Android App Bundle)でのpepk.jarのコマンド

    java -jar pepk.jar --keystore=release.jks --alias=ここはキーのエイリアス --output=encrypted_private_key_path --encryptionkey=ここはWebにあるキー release.jksはキーのファイル自身のパスです。 encrypted_private_key_path は後でアップロードする…

    Androidのスプラッシュ(Splash)で、ある端末はずれる

    ReactNativeのStackOverflowだがこんなのある react native - Android Splash Screen shifts - Stack Overflow CordovaのIssueだが https://github.com/apache/cordova-android/issues/844 多分特殊なborderless devicesなAndroid端末のせい? android/app/s…

    Flutterで非推奨のときのを細かく

    FlutterFirebaseInstanceIDService.java:21: error: cannot find symbol LocalBroadcastManager.getInstance(context).sendBroadcast(intent); FlutterFirebaseInstanceIDService.java uses or overrides a deprecated API. Note: Recompile with -Xlint:dep…

    FlutterのAndroidのステータスバーの上部の変な半透明を消す

    main.dartにこれいれる Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); // ステータスバーの上部の変な半透明を消す SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle( statusBarColor: Colors.transparent, )); なぜこれデ</void>…

    flutter_local_notificationsについて

    flutter_local_notificationsをカスタム通知と連携で利用するかと思うが、 schedule や show()を一回呼ぶ縛りがあった。単に登録できない。 flutter_local_notifications: ^1.4.4+4 を使ってた。 github.com しかし、解決は時間を無限というか厳密にはだいぶ…

    Androidでビルドの

    FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileReleaseKotlin'. > Failed to install the following Android SDK packages as some licences have not been accepted. build-too…

    FlutterでAndroidのPUSH通知のアイコンがグレーになる

    https://github.com/flutter/flutter/issues/17941 これが参考になる。AndroidManifest いじる必要あり。 プラグインのREADMEにプルリク。取り込まれろ!! https://github.com/FirebaseExtended/flutterfire/pull/3336/files あと、画像の仕様がマニアック…

    zshrcにAndroidの

    # for android studio export ANDROID_HOME=$HOME/Library/Android/sdk # adb export PATH=$PATH:$ANDROID_HOME/platform-tools # aapt export PATH=$PATH:$ANDROID_HOME/build-tools/29.0.3 29.0.3は変わるかも

    Androidのエラー

    E/InputDispatcher: Window handle Window{ハッシュ値 u0 アクティビティ名} has no registered input channel

    Zenfone 2 Laser ZE500KL

    Zenfone 2 Laser ZE500KL 大きさ5インチ Laserないのは別物。 Zenfone GO(5インチ) Zenfone GO(5.5インチ) Zenfone 2 Lazer(5インチ) Zenfone 2 Lazer(5.5インチ)

    FlutterでGooglePlayに出すときに気をつけよう

    android/app/build.gradleここを忘れないよう。 defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.shinriyo.cafemaster" minSdkVersion 16 targetS…

    Flutterで作ったapkキーを作る

    keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias mykey のコマンドでやった。 keytool -genkey -v -keystore my-release-key.jks はダメだった・・。 さもないとこっちのエラーでた。 flutter build apk…

    IonicのAndroidアプリリリース

    Android No installed build tools found. Install the Android build tools version 19.1.0 or higher. これ出ることある。 Issueにあった。 https://github.com/ionic-team/ionic/issues/13120 パスを通す AndroidStudioのadbでのパス export ANDROID_HOME…

    Androidのキーストア生成(Weex)

    まずは、 platforms/android/app/build.gradleの applicationId "com.weex.app"を修正。 https://alligator.io/vuejs/getting-started-vue-weex/ https://docs.oracle.com/cd/E19416-01/820-5959/ggezu/index.html これ見た。 keytool -genkey -v -keystore …

    UnityでAndroidビルドででてこない・・。

    <activity android:name="com.shinriyo.taekwondict.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> Manifestに追加した。 で…

    ZenFone で「開発者向けオプション」を有効/無効にする方法

    公式 ZenFone で「開発者向けオプション」を有効/無効にする方法 | サポート 公式 | ASUS 日本 僕のは2だけどあった。

    AndroidのUSBの設定

    adb install hoge.apk error: device '(null)' not found - waiting for device - 【Android】USB接続時のMTP/PTPモードを切替える方法 | TeraDas

    XamarinのAndroid SDK

    /Users/ユーザ名/Library/Developer/Xamarin/android-sdk-macosx ここにある。