apktool not found - apktool

I have an error when trying to decompile apk. In the folder on the C:\ drive there is apktool.bat, apktool.jar and my apk. jdk is also installed, but when I try to start apktool d name.apk I get an error, what can it be connected with?
apktool: The name "apktool" is not recognized as the name of a cmdlet, function, script file, or program being executed. Check out
the spelling of the name, as well as the presence and correctness of the path, and then try again.
line: 1 character: 1
+ apktool d Dead.apk
+ ~~~~~~~
+ CategoryInfo: ObjectNotFound: (apktool: String) [], CommandNotFoundException
+ FullyQualifiedErrorId: CommandNotFoundException

Related

Intellij IDEA Terminal issue

I am using Intellij IDEA for Python. There is a terminal inside the IDE, on which I tried to run a command for making text file. I ran the command:
type null > HelloWorld.txt
It showed an error, but it worked correctly. The text file was created but it showed the following error (This problem is only in Intellij IDEA, it works correctly on command prompt):
type : Cannot find path 'D:\KARTEEK\document space\school\Class-7\My Python Projects\Kivy GUI\null' because it does not exist.
At line:1 char:1
+ type null > HelloWorld.txt
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (D:\KARTEEK\docu...s\Kivy GUI\null:String) [Get-Content], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
But the file was made. Please help

cannot use add-Migration in .net core 2.1 project using visual studio for mac

I am using Visual Studio for Mac and have .NET Core 2.1 project. I have an issue when using any migration command like "Add-Migration", namely the following error occurs:
**Add-Migration : The term ‘Add-Migration’ is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Add-Migration DBUpdates -Context applicationdbcontext
+ ~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Add-Migration:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException**
Any clue what the cause of this could be?
This error indicates that one package is missing.
Install package Microsoft.EntityFrameworkCore.Tools from nuget. Then reopen the visual studio.
You might be missing the nuget package, if thats not the case also double check you have the powershell interface in Visual Studio pointing at the correct project (You want the one where your DbContext object exists and is defined)

Invalid package name when running Bazel under Windows in IntelliJ

I'm getting this error when running Bazel via IntelliJ:
ERROR: Skipping '//src\main:all': Invalid package name 'src\main': package names may contain A-Z, a-z, 0-9, or any of ' !"#$%&'()*+,-./;<=>?[]^_`{|}~' (most 7-bit asc`ii` characters except 0-31, 127, ':', or '\')
My main target runs just fine in Powershell.
Here's my .bazelproject file:
directories:
.
src/main
test_sources:
src/test
src/scenarios
targets:
//:myapp
//src/main:myapp_lib
//src/tests:myapp_tests
//src/scenarios:myapp_scenarios
additional_languages:
kotlin
You can probably guess the layout from that.
I suspect it's a Windows problem just because of the way the / has been switched round to \, but I have no idea how to solve it. Can anyone help?

IntelliJ build project (Ctrl + F9) failed Error: 0

I have a LibGDX project created by gdx-setup.jar file. I recently run into an issue when build the project with Ctrl + F9, IntelliJ always returns error message: Error: 0 (see image bellow).
Basically I don't know what IntelliJ does when I press Ctrl + F9 and the error message is too short so I don't know how to google for this error. Anyone help me to figure out why this happens please.

Error installing Sql Server sink - Semantic logging

I'm trying to install Semantic logging Sql Server sink into my application but each attempt so far failed. The error I'm getting is (in CMD mode):
Attempting to resolve dependency 'EnterpriseLibrary.SemanticLogging (≥ 1.0)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5)'.
Attempting to resolve dependency 'EnterpriseLibrary.TransientFaultHandling.Data (≥ 6.0)'.
Attempting to resolve dependency 'EnterpriseLibrary.TransientFaultHandling (≥ 6.0)'.
Installing 'EnterpriseLibrary.TransientFaultHandling 6.0.1304.0'.
You are downloading EnterpriseLibrary.TransientFaultHandling from Microsoft, the license agreement to which is available at http://www.opensource.org/licenses/ms-pl. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Install failed. Rolling back...
install-package : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At line:1 char:1
+ install-package
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], PathTooLongException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Tried both UI and command prompt installations still no luck. Any help would be appreciated very much.
Had a similar problem. You might try to move just this single package to a shorter directory, e.g. C:\Packages. Otherwise move your whole project path (e.g. C:\users\yourname\documents...) to a short path like c:\MyProjects.