after jump from one activity to another activity project shows the runtime error which in No Project Available - performance

Runtime Exception :No project Available
enter image description here
i want my activity is open after click the and show the main menu activity of "ODK" Collect app

Related

Using custom tag in activity file of Paf scripts

While adding custom tag in activity file,i am getting error that custom tag not found in activity how to resolve this while scripting in pace automation framework?
To solve this issue, you have to add the custom.jar file in dependencies.
For this click on the dropdown next to the Run button on the IDE
and select “Run Configurations…”
Select any of the java application from left pane
select the tab arguments ->Dependencies--->select class path entries-->click on add external jars button
select the custom jar file from the lib folder and add to dependencies. click on 'Run' button

How do I supress false 'Java version is out of date message' when running projects in Netbeans

I use the Netbeans 8.2 IDE to design and run a desktop application written in Java FXML. The current Java RTE is 1.8.0_261. The OS is Windows 10. When I compile the project and attempt to run it at project level (Run > Run Main Project) a Java Update Project dialog is displayed with the message
Your Java version is out of date
There are three prompts in the dialog,
Update (Recommended) Block and Later
The first time the popup was displayed I selected Update. Then I closed NB, reopened it and tried to run the project again. The same dialog appeared. I selected the Update prompt again, but all this returned was a new popup saying
You already have the latest Java version on this platform.
To investigate the issue I opened the Java console via the Windows control panel. In the Security level for applications radio button set to High. I also notice an Exception Site List, which should not be of concern to me as I am only developing a desktop application.
How can I stop this happening and go back to Run > Run Main Project without these impediments?
Solved. In Netbeans > Project Properties > Run I discovered that Netbeans had unilaterally changed the property
Run: Standalone
to
Run: as Web Start
I shall report this as a Netbeans bug as I cannot find any explanation for this behavior.

Xcode assistant editor locked

Hi I was coding and I deleted my view controller. I added a new one but when I started coding in the next day, I wasn't able to open the assistant editor and when I opened my other projects they were also having the same error. Also the new ones that I made, also had the same error. therefore I wasn't able to establish a connection between view controller and story board,
and there was a lock icon on the side of the assistant editor that I tried to open
when I tried to unlock the lock icon it showed
The file is a remote resource. Try making a local copy.
this is the screenshot of how it looked like
please help
sorry for trouble, I found that there was problem in my derived data I simply deleted it,
the bar that shows you, your build fails and successes at the top center was showing indexing and when I clicked on run button it showed build failed the error was in my derived data.
If somebody is having the same trouble try to delete the current derived data.
maybe this error was produced because you deleted your view controller and made a new one here see what it was showing me
the error was no such directory and showed me the address of the derived data I had reported to Xcode

Running tns resources generate icons killed iOS app

I ran tns resources generate splashes and tns resources generate icons and it worked fine for Android but when it reloaded on iOS I got the following error:
/* com.apple.actool.errors /
/Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets: error: None of the input catalogs contained a matching stickers icon set or app icon set named "AppIcon".
/ com.apple.actool.document.warnings /
/Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets:./LaunchScreen.AspectFill.imageset/(null)[2d][LaunchScreen-AspectFill.png]: warning: The image set "LaunchScreen.AspectFill" has 2 unassigned children.
/Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets:./LaunchScreen.Center.imageset/(null)[2d][LaunchScreen-Center.png]: warning: The image set "LaunchScreen.Center" has 2 unassigned children.
/Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets:./LaunchImage.launchimage/(null)[2d][Default-1125h.png]: warning: The launch image set "LaunchImage" has 12 unassigned children.
/ com.apple.actool.compilation-results */
/Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/build/Debug-iphonesimulator/fingoalNS.app/LaunchImage-700-568h#2x.png
/Users/adam_beck/Library/Developer/Xcode/DerivedData/fingoalNS-fvoglrpadrrtljalueomxfllvudt/Build/Intermediates.noindex/fingoalNS.build/Debug-iphonesimulator/fingoalNS.build/assetcatalog_generated_info.plist
When I rebuilt for iOS I got the following error:
Failed to find LaunchScreen.storyboard but it was specified in the Info.plist.
Consider updating the resources in app/App_Resources/iOS/.
A good starting point would be to create a new project and diff the changes with your current one.
Also the following repo may be helpful: https://github.com/NativeScript/template-hello-world/tree/master/App_Resources/iOS
We will now place an empty obsolete compatability white screen LauncScreen.xib for you in platforms/ios/fingoalNS/Resources/LaunchScreen.xib so your app may appear as it did in pre v2.1.0 versions of the ios runtime.
Info.plist: Merging CFBundleURLTypes: Property CFBundleTypeRole is required!
and it exits with Command xcodebuild failed with exit code 65
Thoughts?
In case any one else runs into this issue the tns commands never worked but I was able to successfully generate splashes and icons through Sidekick. From their docs:
Launch NativeScript Sidekick and open your app.
From the left toolbar, select Assets to open the Assets view.
To generate the icons of your app, complete the following steps.
In the icon placeholder in the generator, click Browse.
Browse and locate the image source that you want to use, select it and click Open.
When prompted, choose for which platforms you want to generate icons.
Click Generate and wait for the operation to complete.
To generate the splash screens of your app, complete the following steps.
In the splash screen placeholder in the generator, click Browse.
Browse and locate the image source that you want to use, select it and click Open.
When prompted, choose for which platforms you want to generate splash screens.
(Optional) Provide a custom background color in a hexadecimal format.
Click Generate and wait for the operation to complete.
(Optional) Select the Android and iOS tabs to inspect the newly added app assets.
I am on Windows and this command worked perfectly:
tns resources generate icons app-icon.png
I putted icon in the main folder, so it didn't required to give a path or smth..
Same with splashes:
tns resources generate splashes app-icon.png --background white

I'm using 5.1.2, and where can I find the details of failed/skipped tests

Previously we could drill down from the project dashboard into the skipped / failed tests, and we would get the expected and stacktrace. Now with 5.1.2 when clicking for instance on skipped tests we see the file hierarchy, showing the numbers for the files, and when clicking on a file we just get the source. If there are 5 tests in the file, and 1 failed, how to see which one?
You have to click on the left menu icon when you are on a file, and select the "Show details" entry.
This is described on the official SonarQube documentation, more specifically on the "Component tests" page.

Resources