Phonegap in Visual Studio 2012 : how to use console.log? - visual-studio-2012

I'm using PhoneGap 3.0.0 and I need to debug a Windows Phone 8 App.
The PhoneGap WP8 documentation is outdated since it's about a downloaded version though NodeJS seems to be mandatory with version 3.0.0.
I can open the project generated by PhoneGap with VS2012 but I don't see any log in the console... Did anybody have the same problem ?
PhoneGap WP8 doc: http://docs.phonegap.com/en/edge/guide_platforms_wp8_index.md.html#Windows%20Phone%208%20Platform%20Guide

I've found the solution: you need to run the application in debug mode (unlike android).

During the Debugg process, go to Debug>Window>JavaScript Console or press Strg+Alt+V
Now you must see the console.log output

Related

Plugins or methods not found in Android Studio in an Ionic and Capacitor project

Sorry if my English is bad, my level is not very high.
I am developing a mobile app with Ionic and Capacitor. Some Capacitor plugins like Share or Splash Screen were installed.
These are the versions:
ionic: 6.12.4
capacitor: 4.1.0
In Android Studio I have SDK version 9 and Gradle version 7 installed and I ran into the following issue since I added Capacitor.
When I open Android Studio and try to create an APK, I get errors like 'package not found...' for the plugins mentioned above. I have tried installing jetifier but it keeps giving me the same error.
I put an example screenshot of what appears to me with the Capacitor Share plugin but it also happens to me with the other Splash Screen add-on.
example bug Android Studio
Thanks.

Kotlin Multiplatform Mobile - Issue while running ios app from Android studio

I'm exploring KMM, I have done with the setup in Android Studio. I could able to run the Android app perfectly, but when I try to run the ios app, facing an issue in configuration setup. Xcode project scheme Dropdown is empty. I have attached a screenshot for reference.
Android Studio v4.1.2
Xcode 11.4
Mac OS 10.15.4
Kotlin plugin version
1.4.20.
Note:
I tried specifying the Xcode project location. But no luck.
But when I launch the ios App directly from Xcode, the app is working perfectly.
For your Kotlin version, the KMM plugin version should be 0.2.0 in accord with this release page https://kotlinlang.org/docs/mobile/kmm-plugin-releases.html#release-details.
I solved using Kotlin v1.5.0 e KMM v0.2.4.

configure your forms app unable to select iOS on target platform

Hi all new to this but just downloaded and installed xamarin studio to my mac but iOS on the target platforms: section on the configure your forms app page is greyed out and cant be selected
any idea how to solve this please
The Xamarin studio don't install everything you need automatically.
1 - Install the latest iOS SDK.
2 - Install the latest version of Xcode.
3 - Install the Xamarin Studio.
Full Guide:
https://developer.xamarin.com/guides/ios/getting_started/installation/mac/
I had the same issue Visual Studio 7.2.2, the iOS box was disabled. There were couple of issues I had
I had the Xcode app named as XCode9.app in the application folder so VS was unable to find the location, so I fixed that one.
I then searched for installed components About VisualStudio--> ShowDetails and found that Xamarin.iOS10 was installed which seem to have incompatibility with XCode9 so I ran the VS installer once again and found that Xamarin.iOS11 was out and after installing the update and restarting, everything worked.
Download the visual studio for mac again and run the installer. It will show you the missing components and give you a way to install them correctly. Worked for me here. It will check what is already installed, you won't have to install everything again.

PhoneGap 3.1 Local Build WP8

I'm trying to play with new phonegap-cli main focus is to setup wp8 platform
and when running command:
phonegap build wp8
It tries to use PhoneGap Build, which I presume happens because it hasn't found
my installed SDK in any path.
I tried to test my thesis and ran this command:
phonegap local build wp8
And it returns this error:
I have .NET Framework v4.0 installed, so this path exists:
C:\Windows\Microsoft.NET\Framework\v4.0.30319
So the only thing I think happens is that phonegap can't find where SDK is installed,
so I have been searching through the documentation and I couldn't find anything regarding which Environment Variable PhoneGap checks.
So I would really appreciate any kind of help here.
Please make sure that you have added the framework path to the system PATH variable.
In my case it was the above reason and also related to Ant installed and configuration.
Alternatively you can use phonegap's online build service:
https://build.phonegap.com/
It works like a charm and is free for 1 private project.

Change target sdk on Phonegap for nodejs

Im using phonegap on nodejs, but when I use the command
phonegap local build android
It automatically ask me for "Android 4.2 SDK"
Please install Android target 17 (the Android 4.2 SDK). Make sure you
have the latest Android tools installed as well.
How can I choose a lower vesion (android 4.1) of the sdk using phonegap for nodejs?
Short answer: you don't have to!
I struggled with this until I installed v17 and completed my first build. It turns out that the generated Androidmanifest.xml has minSdkVersion=10, so the minimum version required for your application is 2.3.3, it just needs to compile against v17.

Resources