ionic custom plugin and its wrapper issue-ionic 3,4+ - ionic-framework

I have followed this below vlog completely and was able to create custom plugin and its wrapper and was able to successfully use in ionic v3, and 4+, but after installing the .apk file on device, I get to see error as "Plugin not found".
Please help with the guidance if any. check the below link for that vlog :
Part 1-ionic wrapper creation tutorial
Part 2-[ionic wrapper creation tutorial][2]
Screenshot of after installation of apk- "plugin not found" issue on device
[1]: https://www.youtube.com/watch?v=w9zYXelkl6I&list=PLiuv1WieXgPf4cjcGfQU-IrSX2_3CkWE_&index=25
[2]: https://www.youtube.com/watch?v=Q6PaFEDonac&list=PLiuv1WieXgPf4cjcGfQU-IrSX2_3CkWE_&index=25

Related

Unity Ads with Mediation causes Android builds to fail

When I install "Advertisement with Mediation (ver. 1.5.0)" in a project, I can no longer build for Android.
This applies to new, empty projects as well as legacy projects.
The following error message appears:
“…It looks like there are a few files missing from Assets\Plugins\Android. You can fix this by resolving dependencies again…”
When I click Resolve, the build process starts right away and hangs. I have to force quit Unity. If I don’t click Resolve, the build hangs up on building the first scene in the project and I have to force quit.
Nothing at all happens via Assets -> Mobile Dependency Resolver -> Android Resolver -> Force Resolver.
I am using Unity 2021.3.13.
Does anyone know what is occurring and how to fix it?
I attempted to resolve as stated in the pop up and it causes Unity to hang. I attempted to resolve beforehand and it appears to do nothing.
I attempted to delete my library folder and it had no effect on reimport.
I attempted to export the project, and the project hangs.
I have a similar issue with both Unity Ads with Mediation and the newer Ironsource Ads Mediation(com.unity.services.levelplay). When I run Assets -> Mobile Dependency Resolver -> Android Resolver -> Resolve I get the following error on the console:
Win32Exception: ApplicationName='C:\Users\D\Documents\app\Test\Temp\PlayServicesResolverGradle\gradlew.bat', CommandLine='--daemon -b "C:\Users\D\Documents\app\Test\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle" "-PANDROID_HOME=C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK" "-PTARGET_DIR=C:\Users\D\Documents\app\Test\Assets\Plugins\Android" "-PMAVEN_REPOS=https://android-sdk.is.com/;https://maven.google.com/" "-PPACKAGES_TO_COPY=com.ironsource.sdk:mediationsdk:7.2.5;com.google.android.gms:play-services-ads-identifier:17.0.0;com.google.android.gms:play-services-basement:17.2.1" "-PUSE_JETIFIER=0" "-PDATA_BINDING_VERSION=4.0.1"', CurrentDirectory='C:\Users\D\Documents\app\Test\Temp\PlayServicesResolverGradle', Native error= The system cannot find the file specified.
The file gradlew.bat doesn't exist. I found a gradlew.bat here: https://github.com/googlesamples/unity-jar-resolver. I copied the file into: C:\Users\D\Documents\app\Test\Temp\PlayServicesResolverGradle and then I could run the the resolver from Unity.
But it leads to this questions: Why does Unity MobileDependencyResolver not create gradlew.bat? It does create gradlew, the gradle start up script for Unix. Why the Unix script and not the Windows script?
Advertisement with Mediation is not being properly supported by Unity anymore post IronSource merger. They suggest using Ironsource’s mediation platform. We use AdMob given I already know how to deal with its obvious bugs.

How do I access the "New Module" option in Android Studio?

I'm attempting to follow these instructions to integrate the Bolt Mobile SDK into my Flutter project, where step 5a is, after opening my project in Android Studio:
Click File, select New, then select New Module.
However, I do not appear to have any such option:
Is there something I need to do to enable it? Was it moved somewhere else, or merged into another option (Import Module doesn't seem to cover it)? The Android web site confirms that it should be there, and that page was last updated 8 days ago as of this writing.
If you are trying to access the module into the main project than follow the instructions:
Move the module in your project directory.
Suppose if your module name is - library
In setting.gradle file add this lines
include ':library'
In build.gradle file, inside the dependencies block add this lines
implementation project (':library')
.........................................
Happy coding :)
Follow the instructions on image
After that you will find multiple options, go to new and then at the top you will find New Module option. From there you can create new module or you can import, do as per your requirement.
Happy coding :)
I give a solution for this issue,
Just follow my steps :
Step 1
Step 2
Step 3
Feel free to ask if any problem comes.
Happy coding :)
I think you have to check your flutter sdk set up because when you set up your flutter sdk it will be added automatically.
And If you done this.
Then check that did you add flutter plugin into android studio ? If not then follow this step.
Go to setings
Then search plugin
then search flutter into plugin
section.
Then click on install on install button into flutter plugin
Then restart your android studio
I hope this problem will be solved because this is probable solution for this problem .
Thank you .

How do I create an Android App Bundle using Android Studio, command line (first steps from Android instructions don't work, not fully explained)?

Hello and thanks for helping me solve my problem! I ask for an easier way, as I am trying to figure it out without success in this tutorial https://developer.android.com/guide/app-bundle. So far, I only worked with the Google Play Console itself, did not create an application in a third-party service. I first tried to download the Android App Bundle using Android Studio as described in this article https://medium.com/androiddevelopers/building-your-first-app-bundle-bbcd228bf631, but the first step describes pressing buttons that are not on Android Studio Panel "In Android Studio, select“ Build => Generate Signed Bundle / APK ”and follow the dialog." I do not see the options I need in the Android Studio panel (I attach a screenshot)enter image description here
, where do I need to click to create an Android App Bundle? Then I tried to create the Android App Bundle from this tutorial using the command line https://developer.android.com/studio/build/building-cmdline, I installed Grable manually as described in this tutorial https://docs.gradle.org/current/userguide/installation.html#installation unpacked and configured the system environment, as well as installed and unpacked JDK 17 for Windows/x64 (also on disk C but in a different non-Grable folder), but verifying the Grable installation when typing gradle -v in Windows PowerShell throws an error, and these instructions https://docs.gradle.org/current/userguide/troubleshooting.html#sec:troubleshooting_installation does not offer a solution what is displayed in my Windows PowerShell enter image description here
(The sentence highlighted in red from the screenshot in English looks like this "grable: The name grable is not recognized as the name of a cmdlet, function, script file or executable program. Check the spelling of the name, as well as the presence and correctness of the path, and then try again."), and when I enter gradle -v into the command line, it says "Grable is not an internal or external command, an executable program or a batch file.", I face the same problem if I enter into command line ./gradlew bundleRelease as suggested in this tutorial https://medium.com/androiddevelopers/building-your-first-app-bundle-bbcd228bf631. I'm stumped, what am I doing wrong, and what method is easier for me to create an Android App Bundle? Thanks again for the help in solving my problem and I apologize in advance if I have provided little information necessary to solve my problem.

Error while running CsipSample code.

I downloaded Csipsample from google code and trying to work on that.I built the app based on the instructions given in https://code.google.com/p/csipsimple/wiki/HowToBuild
while running the app on my mobile it is giving
"can't load native library. cpu arch invalid for this build"
Even when i try to run it on Emulator also it is giving the same error.In some forum i found there might be problem with .so files. Even i tried that one also but still its not working.
The same problem i found here also :
https://groups.google.com/forum/#!topic/csipsimple-dev/uxkRx1vmzNk
Can anyone please give a solution for this ?
Simply rename your Lib folder with Libs

phonegap cordova unable to locate blackberry-nativepackager

I am trying to create a blackberry10 project with phonegap cordova command line tool. I am following through the phonegap document (http://cordova.apache.org/docs/en/2.9.0/guide_cli_index.md.html#The%20Cordova%20Command-line%20Interface) but keep running into the same problem.
When I run "cordova platform add blackberry10" in the terminal, it returns [Error: blackberry-nativepackager cannot be found on the path. Aborting]
Does anyone know why and what am I missing? Why is it trying to locate the blackberry-nativepackager, instead of the webwork sdk?
All I want to do its just loading up an external url in bb10. Any better suggestion? Does anyone has any good tutorial/walkthrough on how to create a blackberry10 project?
I'm pretty sure the nativepackager thing is needed to create a package, even with WebWorks. You'll find it in $BBNDK/host_10_x_xx_xxxx/linux/x86/usr/bin/blackberry-nativepackager (adapt to your OS). You'll need to add this folder to your path. Doing this depends on your OS.
The easiest way to do this is to run the bbndk-env script, located in your NDK root directory.
Here's some updated documentation to align with Cordova 3.0. It will cover all the steps needed (including the NDK setup, which seems to be currently missing in your environment).
http://cordova.apache.org/docs/en/3.0.0/guide_platforms_blackberry10_index.md.html#BlackBerry%2010%20Platform%20Guide